]> git.lizzy.rs Git - rust.git/blobdiff - src/driver.rs
deps: bump toml from 0.4 to 0.5
[rust.git] / src / driver.rs
index e592565365555575cf88c8f1f068f463d324b83d..834d11861c0d58540e9420c82f64a41f379f1399 100644 (file)
@@ -1,10 +1,7 @@
-// error-pattern:yummy
-#![feature(box_syntax)]
 #![feature(rustc_private)]
-#![allow(clippy::missing_docs_in_private_items)]
 
 // FIXME: switch to something more ergonomic here, once available.
-// (currently there is no way to opt into sysroot crates w/o `extern crate`)
+// (Currently there is no way to opt into sysroot crates without `extern crate`.)
 #[allow(unused_extern_crates)]
 extern crate rustc_driver;
 #[allow(unused_extern_crates)]
@@ -96,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, pass);
+            ls.register_late_pass(Some(sess), true, false, false, pass);
         }
 
         for (name, (to, deprecated_name)) in lint_groups {