about summary refs log tree commit diff
path: root/src/librustc_errors
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-11 12:50:47 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-11 14:11:59 +0300
commit630ec8880cc2941a3fd178a27934dff0d46b8155 (patch)
tree6d7f83a28dc303f9d7538d619df1e222b34d0187 /src/librustc_errors
parent4a219685ffd622421e5eb9609dda7a8508a478c6 (diff)
downloadrust-630ec8880cc2941a3fd178a27934dff0d46b8155.tar.gz
rust-630ec8880cc2941a3fd178a27934dff0d46b8155.zip
Add deny(unused_lifetimes) to all the crates that have deny(internal).
Diffstat (limited to 'src/librustc_errors')
-rw-r--r--src/librustc_errors/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index cc3180c783b..27bd30e8afd 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -6,6 +6,7 @@
 #![feature(optin_builtin_traits)]
 #![deny(rust_2018_idioms)]
 #![deny(internal)]
+#![deny(unused_lifetimes)]
 
 #[allow(unused_extern_crates)]
 extern crate serialize as rustc_serialize; // used by deriving