about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-06-11 11:44:22 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-08-27 19:02:24 +0900
commitbc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1 (patch)
treeb0fde9302c49c29e13bb38f06d978d2613e7cac0 /src
parent93cdf5e3c45a0578c79afe8563065d07e5f6984f (diff)
downloadrust-bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1.tar.gz
rust-bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1.zip
Make unused-extern-crate warn-by-default
Diffstat (limited to 'src')
-rw-r--r--src/librustc/lint/builtin.rs2
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"
 }