diff options
| author | bors <bors@rust-lang.org> | 2017-08-27 10:02:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-27 10:02:51 +0000 |
| commit | 78e95bb7ac92f8f92654705a47cef652b6a0b259 (patch) | |
| tree | a0d4ee18cfe588ccfc8ad76f5b91b70a03d1da30 /src/libsyntax_ext | |
| parent | 93cdf5e3c45a0578c79afe8563065d07e5f6984f (diff) | |
| parent | a91bdf4ad558b3cf7b2a0230df15d83a6a686397 (diff) | |
| download | rust-78e95bb7ac92f8f92654705a47cef652b6a0b259.tar.gz rust-78e95bb7ac92f8f92654705a47cef652b6a0b259.zip | |
Auto merge of #42588 - ishitatsuyuki:patch-1, r=petrochenkov
Make unused-extern-crate warn-by-default Apart from enabling the lint, this pull request also removes existing unused crates in the codebase, and fix some amount of false positives on crates with special purposes. Now that all false positive issues are closed, it should be possible to make it available to wider users. Quote: > Now that macro modularization is implemented, this is true today! *https://github.com/rust-lang/rust/issues/30849#issuecomment-286573218* Concerns: can break some `#[deny(warnings)]`. Close #42591
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/libsyntax_ext/lib.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax_ext/Cargo.toml b/src/libsyntax_ext/Cargo.toml index bdcec26cb83..1c470240288 100644 --- a/src/libsyntax_ext/Cargo.toml +++ b/src/libsyntax_ext/Cargo.toml @@ -10,7 +10,6 @@ crate-type = ["dylib"] [dependencies] fmt_macros = { path = "../libfmt_macros" } -log = "0.3" proc_macro = { path = "../libproc_macro" } rustc_errors = { path = "../librustc_errors" } syntax = { path = "../libsyntax" } diff --git a/src/libsyntax_ext/lib.rs b/src/libsyntax_ext/lib.rs index fa39095d329..42bbb4ae0cb 100644 --- a/src/libsyntax_ext/lib.rs +++ b/src/libsyntax_ext/lib.rs @@ -18,7 +18,6 @@ #![feature(proc_macro_internals)] extern crate fmt_macros; -extern crate log; #[macro_use] extern crate syntax; extern crate syntax_pos; |
