Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 40225f5

Browse files
committed
1 parent 1175ddb commit 40225f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn clippy_after_parse_callback(state: &mut rustc_driver::driver::CompileState<'_
211211
let sess = &state.session;
212212
let mut ls = sess.lint_store.borrow_mut();
213213
for pass in early_lint_passes {
214-
ls.register_early_pass(Some(sess), true, pass);
214+
ls.register_early_pass(Some(sess), true, false, pass);
215215
}
216216
for pass in late_lint_passes {
217217
ls.register_late_pass(Some(sess), true, pass);

0 commit comments

Comments
 (0)