Use -D warnings instead of deny-warnings feature.

This commit is contained in:
Jason Newcomb 2024-08-06 10:12:49 -04:00
parent c082bc2cb8
commit 4e57b2c46f
28 changed files with 23 additions and 52 deletions

View file

@ -32,7 +32,6 @@ url = "2.2"
walkdir = "2.3"
[features]
deny-warnings = ["clippy_config/deny-warnings", "clippy_utils/deny-warnings"]
# build clippy with internal lints enabled, off by default
internal = ["serde_json", "tempfile", "regex"]

View file

@ -14,7 +14,6 @@
#![feature(stmt_expr_attributes)]
#![feature(unwrap_infallible)]
#![recursion_limit = "512"]
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
#![allow(
clippy::missing_docs_in_private_items,
clippy::must_use_candidate,