From bc5bd51c4563cd76fd3d73eb3eeff7cf6e9905b1 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sun, 11 Jun 2017 11:44:22 +0900 Subject: [PATCH] Make unused-extern-crate warn-by-default --- src/librustc/lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index cbe642a9a76a..811bf9776101 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" }