Skip to content

Commit dca10d1

Browse files
committed
chore: Allow warnings during development
1 parent 2286d5f commit dca10d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For various reasons, some idioms are still allow'ed, but we would like to
22
// test and enforce them.
33
#![warn(rust_2018_idioms)]
4-
#![cfg_attr(test, deny(warnings))]
4+
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
55
// Due to some of the default clippy lints being somewhat subjective and not
66
// necessarily an improvement, we prefer to not use them at this time.
77
#![allow(clippy::all)]

0 commit comments

Comments
 (0)