about summary refs log tree commit diff
path: root/src/librustc_plugin
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/librustc_plugin
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/librustc_plugin')
-rw-r--r--src/librustc_plugin/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_plugin/lib.rs b/src/librustc_plugin/lib.rs
index 91e0fd636c9..8d4e61ad8e5 100644
--- a/src/librustc_plugin/lib.rs
+++ b/src/librustc_plugin/lib.rs
@@ -57,7 +57,7 @@
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/")]
-#![cfg_attr(not(stage0), deny(warnings))]
+#![deny(warnings)]
 
 #![feature(staged_api)]
 #![feature(rustc_diagnostic_macros)]