From dca10d17dbfddf373e7cadc80c89825bbbfb99a6 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 8 Jun 2022 17:10:09 -0500 Subject: [PATCH] chore: Allow warnings during development --- src/cargo/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/lib.rs b/src/cargo/lib.rs index 201d4316915..59b197870af 100644 --- a/src/cargo/lib.rs +++ b/src/cargo/lib.rs @@ -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)]