Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make add_pre_expansion_builtin add a pre-expansion lint
Copy-and-paste error.
  • Loading branch information
nikomatsakis committed Sep 10, 2018
1 parent 3c3e372 commit 38774aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_lint/lib.rs
Expand Up @@ -90,7 +90,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
macro_rules! add_pre_expansion_builtin {
($sess:ident, $($name:ident),*,) => (
{$(
store.register_early_pass($sess, false, box $name);
store.register_pre_expansion_pass($sess, box $name);
)*}
)
}
Expand Down

0 comments on commit 38774aa

Please sign in to comment.