mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-01 18:35:25 +00:00
rustc: Make unused_features lint warn by default
When it was un*known*_features it was reasonably to by deny by default. cc #21798
This commit is contained in:
parent
1d00c545ed
commit
f9f7ad74cf
@ -1984,7 +1984,7 @@ declare_lint! {
|
||||
|
||||
declare_lint! {
|
||||
pub UNUSED_FEATURES,
|
||||
Deny,
|
||||
Warn,
|
||||
"unused or unknown features found in crate-level #[feature] directives"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user