about summary refs log tree commit diff
path: root/clippy_lints
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-06 14:58:50 +0000
committerbors <bors@rust-lang.org>2024-08-06 14:58:50 +0000
commit9d9a0dcb64407cd68675470ea4e84f9022b389f3 (patch)
treee6c48a8778d7116fb821ecff11d87ce05e3b4b45 /clippy_lints
parenta411267453b7744ac909c04302fe866fd1d183d1 (diff)
parent4e57b2c46f6f0a6c19a563e36e2bc9158bddd7b6 (diff)
Auto merge of #13225 - Jarcho:warnings, r=flip1995
Use `-D warnings` instead of `deny-warnings` feature.

r? `@flip1995`
changelog: none
Diffstat (limited to 'clippy_lints')
-rw-r--r--clippy_lints/Cargo.toml1
-rw-r--r--clippy_lints/src/lib.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml
index eb04c006f89..99ed93468a0 100644
--- a/clippy_lints/Cargo.toml
+++ b/clippy_lints/Cargo.toml
@@ -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"]
 
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs
index 3aee6cfa5c0..a0d77a58ad1 100644
--- a/clippy_lints/src/lib.rs
+++ b/clippy_lints/src/lib.rs
@@ -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,