diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2017-01-14 08:58:50 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2017-01-22 01:31:00 +0000 |
| commit | 356fa2c5db18beb5d4787ea2997f555504bb26dc (patch) | |
| tree | d8b35821e186802f71ced76b55927c4eaf8a0526 /src/librustc_plugin | |
| parent | 2efec3c18050b4093ed8be9537145bdc2a50f7e7 (diff) | |
| download | rust-356fa2c5db18beb5d4787ea2997f555504bb26dc.tar.gz rust-356fa2c5db18beb5d4787ea2997f555504bb26dc.zip | |
Warn on unused `#[macro_use]` imports.
Diffstat (limited to 'src/librustc_plugin')
| -rw-r--r-- | src/librustc_plugin/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_plugin/lib.rs | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_plugin/Cargo.toml b/src/librustc_plugin/Cargo.toml index 48d4437358c..42d1d3c2ba5 100644 --- a/src/librustc_plugin/Cargo.toml +++ b/src/librustc_plugin/Cargo.toml @@ -13,7 +13,6 @@ crate-type = ["dylib"] log = { path = "../liblog" } rustc = { path = "../librustc" } rustc_back = { path = "../librustc_back" } -rustc_bitflags = { path = "../librustc_bitflags" } rustc_metadata = { path = "../librustc_metadata" } syntax = { path = "../libsyntax" } syntax_pos = { path = "../libsyntax_pos" } diff --git a/src/librustc_plugin/lib.rs b/src/librustc_plugin/lib.rs index 8d4e61ad8e5..8f389499dd6 100644 --- a/src/librustc_plugin/lib.rs +++ b/src/librustc_plugin/lib.rs @@ -63,9 +63,8 @@ #![feature(rustc_diagnostic_macros)] #![feature(rustc_private)] -#[macro_use] extern crate log; +extern crate log; #[macro_use] extern crate syntax; -#[macro_use] #[no_link] extern crate rustc_bitflags; extern crate rustc; extern crate rustc_back; |
