about summary refs log tree commit diff
path: root/src/librustc_allocator/lib.rs
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-02-06 22:55:03 +0900
committerTaiki Endo <te316e89@gmail.com>2019-02-06 22:55:03 +0900
commit44b2cc0941e63cb8b12fd3a361d8eb8564504a73 (patch)
treef2f362d53f8f83d69a550dbdb0d7e440dde464f3 /src/librustc_allocator/lib.rs
parentb139669f374eb5024a50eb13f116ff763b1c5935 (diff)
downloadrust-44b2cc0941e63cb8b12fd3a361d8eb8564504a73.tar.gz
rust-44b2cc0941e63cb8b12fd3a361d8eb8564504a73.zip
librustc_allocator => 2018
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;