about summary refs log tree commit diff
path: root/clippy_dev/src
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2019-11-25 17:23:48 +0100
committerflip1995 <hello@philkrones.com>2019-11-25 17:23:48 +0100
commitd51a80c57e85f6d96c700410f8ba60d94ffaaba8 (patch)
tree92e43dbb80450aa61f70ec458fcedcb2c070d596 /clippy_dev/src
parent1d3ec29880fc991b2ae2feb62145627651d732f6 (diff)
downloadrust-d51a80c57e85f6d96c700410f8ba60d94ffaaba8.tar.gz
rust-d51a80c57e85f6d96c700410f8ba60d94ffaaba8.zip
Enable deny-warnings feature everywhere in CI
Diffstat (limited to 'clippy_dev/src')
-rw-r--r--clippy_dev/src/lib.rs2
-rw-r--r--clippy_dev/src/main.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index 327774ea0f2..f73e7b86720 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -1,3 +1,5 @@
+#![cfg_attr(feature = "deny-warnings", deny(warnings))]
+
 use itertools::Itertools;
 use lazy_static::lazy_static;
 use regex::Regex;
diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs
index 9c9d3eae588..3010e0d2489 100644
--- a/clippy_dev/src/main.rs
+++ b/clippy_dev/src/main.rs
@@ -1,3 +1,5 @@
+#![cfg_attr(feature = "deny-warnings", deny(warnings))]
+
 extern crate clap;
 extern crate clippy_dev;
 extern crate regex;