diff --git a/src/driver.rs b/src/driver.rs index 0b5c259ec4e..834d11861c0 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -93,7 +93,7 @@ fn after_parsing(&mut self, compiler: &interface::Compiler) -> bool { ls.register_early_pass(Some(sess), true, false, pass); } for pass in late_lint_passes { - ls.register_late_pass(Some(sess), true, false, pass); + ls.register_late_pass(Some(sess), true, false, false, pass); } for (name, (to, deprecated_name)) in lint_groups {