about summary refs log tree commit diff
path: root/src/librustc_errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-28 16:34:59 +0000
committerbors <bors@rust-lang.org>2019-07-28 16:34:59 +0000
commit4560cb830fce63fcffdc4558f4281aaac6a3a1ba (patch)
tree3863f24b2c59b79009465a6f60990acdfccffe30 /src/librustc_errors
parent023525dbda35748a10713471b948974b68a1c2cc (diff)
parent1a370109ec176fa33a9cac2fe143b43c56ebcfd9 (diff)
downloadrust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.tar.gz
rust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.zip
Auto merge of #62910 - petrochenkov:buildwarn2, r=Mark-Simulacrum
cleanup: Remove lint annotations in specific crates that are already enforced by rustbuild

Remove some random unnecessary lint `allow`s.

Deny `unused_lifetimes` through rustbuild.

r? @Mark-Simulacrum
Diffstat (limited to 'src/librustc_errors')
-rw-r--r--src/librustc_errors/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index 0a6c02c0ca6..3f758c2521b 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -5,12 +5,9 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![feature(crate_visibility_modifier)]
-#![allow(unused_attributes)]
 #![cfg_attr(unix, feature(libc))]
 #![feature(nll)]
 #![feature(optin_builtin_traits)]
-#![deny(rust_2018_idioms)]
-#![deny(unused_lifetimes)]
 
 pub use emitter::ColorConfig;