Add note for pre-expansion passes
This commit is contained in:
parent
b1c675f3fc
commit
014bf4390c
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue