about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-11 03:30:04 +0000
committerbors <bors@rust-lang.org>2018-04-11 03:30:04 +0000
commit43e994c8b8f97246db16b82cea50d3eafecc3dd9 (patch)
tree214bd3d3576f2d50040b2a985a4e3f2323522a9e /src/libstd
parent88ebd97d650dc70324db189b3159dff068accd3c (diff)
parent53718d2ef1729c987531dc94971c905815daef55 (diff)
downloadrust-43e994c8b8f97246db16b82cea50d3eafecc3dd9.tar.gz
rust-43e994c8b8f97246db16b82cea50d3eafecc3dd9.zip
Auto merge of #49715 - Mark-Simulacrum:deny-warnings, r=alexcrichton
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)]