From 9b0b5b45dbd268aba0a79453f506bfe00bb57042 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 29 Dec 2016 09:47:34 -0800 Subject: 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. --- src/libstd/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/lib.rs') 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)] -- cgit 1.4.1-3-g733a5