about summary refs log tree commit diff
path: root/clippy_dev
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2021-05-20 12:30:31 +0200
committerflip1995 <philipp.krones@embecosm.com>2021-05-20 13:07:57 +0200
commit97705b7ea622e4d6ea670c6a3a8ba1bfe97296e0 (patch)
tree8a1b999fad4eabd030a7920cc77a66ebe2fda646 /clippy_dev
parent4f3b49fffa13518aa6006762c0eb6851c0c0b2d5 (diff)
downloadrust-97705b7ea622e4d6ea670c6a3a8ba1bfe97296e0.tar.gz
rust-97705b7ea622e4d6ea670c6a3a8ba1bfe97296e0.zip
Merge commit '9e3cd88718cd1912a515d26dbd9c4019fd5a9577' into clippyup
Diffstat (limited to 'clippy_dev')
-rw-r--r--clippy_dev/src/lib.rs4
-rw-r--r--clippy_dev/src/main.rs2
2 files changed, 5 insertions, 1 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index 1e5a140e964..69f42aca8b6 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -1,5 +1,7 @@
-#![cfg_attr(feature = "deny-warnings", deny(warnings))]
 #![feature(once_cell)]
+#![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)]
 
 use itertools::Itertools;
 use regex::Regex;
diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs
index f4da783502c..7040c257c83 100644
--- a/clippy_dev/src/main.rs
+++ b/clippy_dev/src/main.rs
@@ -1,4 +1,6 @@
 #![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)]
 
 use clap::{App, Arg, ArgMatches, SubCommand};
 use clippy_dev::{bless, fmt, ide_setup, new_lint, serve, stderr_length_check, update_lints};