From f9f7ad74cf6a46b3aa78a6240ad1404e76594026 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 30 Jan 2015 22:27:36 -0800 Subject: [PATCH] rustc: Make unused_features lint warn by default When it was un*known*_features it was reasonably to by deny by default. cc #21798 --- 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 ae537e557e7..41a4dd36574 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -1984,7 +1984,7 @@ declare_lint! { declare_lint! { pub UNUSED_FEATURES, - Deny, + Warn, "unused or unknown features found in crate-level #[feature] directives" }