about summary refs log tree commit diff
path: root/src/librustc_const_math
diff options
context:
space:
mode:
authorJeffrey Seyfried <jeffrey.seyfried@gmail.com>2017-01-14 08:58:50 +0000
committerJeffrey Seyfried <jeffrey.seyfried@gmail.com>2017-01-22 01:31:00 +0000
commit356fa2c5db18beb5d4787ea2997f555504bb26dc (patch)
treed8b35821e186802f71ced76b55927c4eaf8a0526 /src/librustc_const_math
parent2efec3c18050b4093ed8be9537145bdc2a50f7e7 (diff)
Warn on unused `#[macro_use]` imports.
Diffstat (limited to 'src/librustc_const_math')
-rw-r--r--src/librustc_const_math/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_const_math/lib.rs b/src/librustc_const_math/lib.rs
index cd933c00599..beecf4cd8eb 100644
--- a/src/librustc_const_math/lib.rs
+++ b/src/librustc_const_math/lib.rs
@@ -28,8 +28,8 @@
 #![feature(const_fn)]
 #![cfg_attr(not(stage0), feature(i128))]
 
-#[macro_use] extern crate log;
-#[macro_use] extern crate syntax;
+extern crate log;
+extern crate syntax;
 
 // SNAP: remove use of this crate
 extern crate rustc_i128;