Skip to content

Commit 014bf43

Browse files
committed
Add note for pre-expansion passes
1 parent b1c675f commit 014bf43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ pub use crate::utils::conf::Conf;
390390
///
391391
/// Used in `./src/driver.rs`.
392392
pub fn register_pre_expansion_lints(store: &mut rustc_lint::LintStore) {
393+
// NOTE: Do not add any more pre-expansion passes. These should be removed eventually.
393394
store.register_pre_expansion_pass(|| box write::Write::default());
394395
store.register_pre_expansion_pass(|| box attrs::EarlyAttributes);
395396
store.register_pre_expansion_pass(|| box dbg_macro::DbgMacro);

0 commit comments

Comments
 (0)