We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2286d5f commit dca10d1Copy full SHA for dca10d1
src/cargo/lib.rs
@@ -1,7 +1,7 @@
1
// For various reasons, some idioms are still allow'ed, but we would like to
2
// test and enforce them.
3
#![warn(rust_2018_idioms)]
4
-#![cfg_attr(test, deny(warnings))]
+#![cfg_attr(feature = "deny-warnings", deny(warnings))]
5
// Due to some of the default clippy lints being somewhat subjective and not
6
// necessarily an improvement, we prefer to not use them at this time.
7
#![allow(clippy::all)]
0 commit comments