about summary refs log tree commit diff
path: root/src/librustc_allocator/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_allocator/lib.rs')
-rw-r--r--src/librustc_allocator/lib.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/librustc_allocator/lib.rs b/src/librustc_allocator/lib.rs
index 41c0be61595..16b9ccfda80 100644
--- a/src/librustc_allocator/lib.rs
+++ b/src/librustc_allocator/lib.rs
@@ -1,15 +1,6 @@
-#![feature(nll)]
 #![feature(rustc_private)]
 
-#[macro_use] extern crate log;
-extern crate rustc;
-extern crate rustc_data_structures;
-extern crate rustc_errors;
-extern crate rustc_target;
-extern crate syntax;
-extern crate syntax_pos;
-#[macro_use]
-extern crate smallvec;
+#![deny(rust_2018_idioms)]
 
 pub mod expand;