Skip to content

Commit f9f7ad7

Browse files
committed
rustc: Make unused_features lint warn by default
When it was un*known*_features it was reasonably to by deny by default. cc #21798
1 parent 1d00c54 commit f9f7ad7

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
@@ -1984,7 +1984,7 @@ declare_lint! {
19841984

19851985
declare_lint! {
19861986
pub UNUSED_FEATURES,
1987-
Deny,
1987+
Warn,
19881988
"unused or unknown features found in crate-level #[feature] directives"
19891989
}
19901990

0 commit comments

Comments
 (0)