about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-08 08:22:06 +0000
committerbors <bors@rust-lang.org>2017-01-08 08:22:06 +0000
commit7ac9d337dcc544b4b1959997cdd36f1ba0c8d3e1 (patch)
tree794e313bf3c2e9cf91e5834eac720cb55de6146e /src/libstd
parent5219dad855e153de2e09f31835d83134d505da3a (diff)
parent9b0b5b45dbd268aba0a79453f506bfe00bb57042 (diff)
downloadrust-7ac9d337dcc544b4b1959997cdd36f1ba0c8d3e1.tar.gz
rust-7ac9d337dcc544b4b1959997cdd36f1ba0c8d3e1.zip
Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc
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 f1e3996e825..9557c520c50 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)]