diff options
| author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2017-06-11 11:44:22 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2017-08-27 19:02:24 +0900 |
| commit | bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1 (patch) | |
| tree | b0fde9302c49c29e13bb38f06d978d2613e7cac0 /src | |
| parent | 93cdf5e3c45a0578c79afe8563065d07e5f6984f (diff) | |
| download | rust-bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1.tar.gz rust-bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1.zip | |
Make unused-extern-crate warn-by-default
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index cbe642a9a76..811bf977610 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -30,7 +30,7 @@ declare_lint! { declare_lint! { pub UNUSED_EXTERN_CRATES, - Allow, + Warn, "extern crates that are never used" } |
