Skip to content

Commit

Permalink
Add comments about keeping general and supplementary sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 10, 2023
1 parent c272e29 commit f70627e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/general/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions examples/supplementary/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f70627e

Please sign in to comment.