]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/lib.rs
Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson
[rust.git] / src / librustc_data_structures / lib.rs
index 20caf7dd0cfc1c59046327038f3c46a1bccad44a..e4b13ff548a4538df0efda70e71bfd671132f2ec 100644 (file)
@@ -23,6 +23,7 @@
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
       html_favicon_url = "https://www.rust-lang.org/favicon.ico",
       html_root_url = "https://doc.rust-lang.org/nightly/")]
+#![cfg_attr(not(stage0), deny(warnings))]
 
 #![feature(nonzero)]
 #![feature(rustc_private)]