about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-23 20:34:17 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-28 18:46:24 +0300
commit434152157f9d73ad1899fb8da3a61aed6f8a46d6 (patch)
treefd0dd6654839751b494670ba2da674246dc37cfb /src/libstd
parent0cfb2f7fbda1d27e12913d21d1c8e56a4133dbe1 (diff)
downloadrust-434152157f9d73ad1899fb8da3a61aed6f8a46d6.tar.gz
rust-434152157f9d73ad1899fb8da3a61aed6f8a46d6.zip
Remove lint annotations in specific crates that are already enforced by rustbuild
Remove some random unnecessary lint `allow`s
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/build.rs2
-rw-r--r--src/libstd/lib.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs
index 20397369387..8db7bc12cd3 100644
--- a/src/libstd/build.rs
+++ b/src/libstd/build.rs
@@ -1,5 +1,3 @@
-#![deny(warnings)]
-
 use std::env;
 
 fn main() {
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 722c08a22a6..1390341cf7c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -209,8 +209,6 @@
 #![warn(missing_docs)]
 #![warn(missing_debug_implementations)]
 #![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
-
-#![deny(rust_2018_idioms)]
 #![allow(explicit_outlives_requirements)]
 
 // Tell the compiler to link to either panic_abort or panic_unwind