diff --git a/examples/general/src/lib.rs b/examples/general/src/lib.rs index 286271f22..02a3c641a 100644 --- a/examples/general/src/lib.rs +++ b/examples/general/src/lib.rs @@ -9,6 +9,7 @@ extern crate rustc_session; #[allow(clippy::no_mangle_with_rust_abi)] #[no_mangle] pub fn register_lints(sess: &rustc_session::Session, lint_store: &mut rustc_lint::LintStore) { + // smoelius: Please keep the following `register_lints` calls sorted by crate name. await_holding_span_guard::register_lints(sess, lint_store); crate_wide_allow::register_lints(sess, lint_store); env_cargo_path::register_lints(sess, lint_store); diff --git a/examples/supplementary/src/lib.rs b/examples/supplementary/src/lib.rs index e8c4f1ab0..12a427a0b 100644 --- a/examples/supplementary/src/lib.rs +++ b/examples/supplementary/src/lib.rs @@ -9,6 +9,7 @@ extern crate rustc_session; #[allow(clippy::no_mangle_with_rust_abi)] #[no_mangle] pub fn register_lints(sess: &rustc_session::Session, lint_store: &mut rustc_lint::LintStore) { + // smoelius: Please keep the following `register_lints` calls sorted by crate name. commented_code::register_lints(sess, lint_store); redundant_reference::register_lints(sess, lint_store); unnamed_constant::register_lints(sess, lint_store);