Skip to content

Commit 642b498

Browse files
committed
Rollup merge of rust-lang#21800 - brson:unused_features, r=alexcrichton
When it was un*known*_features it was reasonable to be deny by default. cc rust-lang#21798 r? @alexcrichton
2 parents 6f3aa71 + f9f7ad7 commit 642b498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ declare_lint! {
20062006

20072007
declare_lint! {
20082008
pub UNUSED_FEATURES,
2009-
Deny,
2009+
Warn,
20102010
"unused or unknown features found in crate-level #[feature] directives"
20112011
}
20122012

0 commit comments

Comments
 (0)