Auto merge of #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
This commit is contained in:
commit
52c8c9c520
@ -390,6 +390,7 @@ pub use crate::utils::conf::Conf;
|
||||
///
|
||||
/// Used in `./src/driver.rs`.
|
||||
pub fn register_pre_expansion_lints(store: &mut rustc_lint::LintStore) {
|
||||
// NOTE: Do not add any more pre-expansion passes. These should be removed eventually.
|
||||
store.register_pre_expansion_pass(|| box write::Write::default());
|
||||
store.register_pre_expansion_pass(|| box attrs::EarlyAttributes);
|
||||
store.register_pre_expansion_pass(|| box dbg_macro::DbgMacro);
|
||||
|
Loading…
x
Reference in New Issue
Block a user