Skip to content

Commit 52c8c9c

Browse files
committed
Auto merge of rust-lang#7090 - camsteffen:pre-expansion-note, r=Manishearth
Add a note for pre-expansion passes changelog: none Just had to turn away a PR for using pre-expansion. I don't think that was the first time. So hopefully this will inform people sooner. r? flip1995
2 parents b1c675f + 014bf43 commit 52c8c9c

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)