mirror of
https://github.com/rust-lang/cargo
synced 2024-08-27 19:29:21 +00:00
chore: Allow warnings during development
This commit is contained in:
parent
2286d5f1d0
commit
dca10d17db
|
@ -1,7 +1,7 @@
|
|||
// For various reasons, some idioms are still allow'ed, but we would like to
|
||||
// test and enforce them.
|
||||
#![warn(rust_2018_idioms)]
|
||||
#![cfg_attr(test, deny(warnings))]
|
||||
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
|
||||
// Due to some of the default clippy lints being somewhat subjective and not
|
||||
// necessarily an improvement, we prefer to not use them at this time.
|
||||
#![allow(clippy::all)]
|
||||
|
|
Loading…
Reference in a new issue