]> git.lizzy.rs Git - rust.git/blobdiff - src/lib.rs
deps: bump toml from 0.4 to 0.5
[rust.git] / src / lib.rs
index 62c9da03278cc86de3375c547e4b6ab7a79b986e..86174a6b316fc942663ef7122eb71b74a15f7bcd 100644 (file)
@@ -1,23 +1,12 @@
-// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-
 // error-pattern:cargo-clippy
 #![feature(plugin_registrar)]
 #![feature(rustc_private)]
-
-#![allow(unknown_lints)]
-#![allow(clippy::missing_docs_in_private_items)]
 #![warn(rust_2018_idioms)]
 
 // 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)]
 extern crate rustc_plugin;
 use self::rustc_plugin::Registry;