]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lib.rs
Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson
[rust.git] / src / librustc / lib.rs
index 4f6c1305f768357bca6220070d29f8e22b4822c2..54c12b67970b1c8c57cda3c21f6c01fff55d6f06 100644 (file)
@@ -19,8 +19,9 @@
 #![crate_type = "dylib"]
 #![crate_type = "rlib"]
 #![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/")]
+       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))]
 
 #![feature(associated_consts)]
 #![feature(box_patterns)]
@@ -29,7 +30,6 @@
 #![feature(collections)]
 #![feature(const_fn)]
 #![feature(enumset)]
-#![feature(hashmap_hasher)]
 #![feature(iter_arith)]
 #![feature(libc)]
 #![feature(nonzero)]