about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-29 09:47:34 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-29 21:07:20 -0800
commit9b0b5b45dbd268aba0a79453f506bfe00bb57042 (patch)
treebed99f2a0b28120119afcec8b31ded71d9356372 /src/libstd
parent4ecc85beb339aa8089d936e450b0d800bdf580ae (diff)
downloadrust-9b0b5b45dbd268aba0a79453f506bfe00bb57042.tar.gz
rust-9b0b5b45dbd268aba0a79453f506bfe00bb57042.zip
Remove not(stage0) from deny(warnings)
Historically this was done to accommodate bugs in lints, but there hasn't been a
bug in a lint since this feature was added which the warnings affected. Let's
completely purge warnings from all our stages by denying warnings in all stages.
This will also assist in tracking down `stage0` code to be removed whenever
we're updating the bootstrap compiler.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index fc5c6968544..2091d918f60 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -225,7 +225,7 @@
 
 // Turn warnings into errors, but only after stage0, where it can be useful for
 // code to emit warnings during language transitions
-#![cfg_attr(not(stage0), deny(warnings))]
+#![deny(warnings)]
 
 // std may use features in a platform-specific way
 #![allow(unused_features)]