about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-04-01 09:35:53 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-04-08 16:59:14 -0600
commitc115cc655c8bb3077ff349e4ddd704a2239438a6 (patch)
tree929e932baf457750f0f7296ea33f1457e6e2ce9b /src/libstd
parentb7da1aaff62c1394d56830dc975d24d99c7a4fd8 (diff)
downloadrust-c115cc655c8bb3077ff349e4ddd704a2239438a6.tar.gz
rust-c115cc655c8bb3077ff349e4ddd704a2239438a6.zip
Move deny(warnings) into rustbuild
This permits easier iteration without having to worry about warnings
being denied.

Fixes #49517
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 3227aa9acff..672723341eb 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -227,10 +227,6 @@
 // Tell the compiler to link to either panic_abort or panic_unwind
 #![needs_panic_runtime]
 
-// 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))]
-
 // std may use features in a platform-specific way
 #![allow(unused_features)]