Skip to content

Commit 38774aa

Browse files
committed
make add_pre_expansion_builtin add a pre-expansion lint
Copy-and-paste error.
1 parent 3c3e372 commit 38774aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
9090
macro_rules! add_pre_expansion_builtin {
9191
($sess:ident, $($name:ident),*,) => (
9292
{$(
93-
store.register_early_pass($sess, false, box $name);
93+
store.register_pre_expansion_pass($sess, box $name);
9494
)*}
9595
)
9696
}

0 commit comments

Comments
 (0)