about summary refs log tree commit diff
path: root/clippy_dev
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2024-08-06 10:12:49 -0400
committerJason Newcomb <jsnewcomb@pm.me>2024-08-06 10:46:39 -0400
commit4e57b2c46f6f0a6c19a563e36e2bc9158bddd7b6 (patch)
tree69537bf9396e67d24ee3fc0cf6d5cc8ebde1665a /clippy_dev
parentc082bc2cb85313901ed3565fcd285592ed93df0f (diff)
downloadrust-4e57b2c46f6f0a6c19a563e36e2bc9158bddd7b6.tar.gz
rust-4e57b2c46f6f0a6c19a563e36e2bc9158bddd7b6.zip
Use `-D warnings` instead of `deny-warnings` feature.
Diffstat (limited to 'clippy_dev')
-rw-r--r--clippy_dev/Cargo.toml3
-rw-r--r--clippy_dev/src/lib.rs1
-rw-r--r--clippy_dev/src/main.rs1
3 files changed, 0 insertions, 5 deletions
diff --git a/clippy_dev/Cargo.toml b/clippy_dev/Cargo.toml
index 4104e7d94f1..a5d72c3a559 100644
--- a/clippy_dev/Cargo.toml
+++ b/clippy_dev/Cargo.toml
@@ -13,9 +13,6 @@ opener = "0.6"
 shell-escape = "0.1"
 walkdir = "2.3"
 
-[features]
-deny-warnings = []
-
 [package.metadata.rust-analyzer]
 # This package uses #[feature(rustc_private)]
 rustc_private = true
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index 3aa43dbe23e..ad385d5fbd2 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -1,6 +1,5 @@
 #![feature(let_chains)]
 #![feature(rustc_private)]
-#![cfg_attr(feature = "deny-warnings", deny(warnings))]
 #![warn(
     trivial_casts,
     trivial_numeric_casts,
diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs
index db7287aac21..755b04b0b23 100644
--- a/clippy_dev/src/main.rs
+++ b/clippy_dev/src/main.rs
@@ -1,4 +1,3 @@
-#![cfg_attr(feature = "deny-warnings", deny(warnings))]
 // warn on lints, that are included in `rust-lang/rust`s bootstrap
 #![warn(rust_2018_idioms, unused_lifetimes)]