about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-06-05 14:20:35 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-22 15:34:00 +0200
commitcb5f0b4971481fd8985c78c7a24e422f45ea6560 (patch)
tree1fa3e6faf4a462f9e7cb2bd7cd4fce73e134a7ff /src/libstd/lib.rs
parent75da81e78231a6fb5d90b3918bebe867249eb14c (diff)
downloadrust-cb5f0b4971481fd8985c78c7a24e422f45ea6560.tar.gz
rust-cb5f0b4971481fd8985c78c7a24e422f45ea6560.zip
Avoid feature-warnings on stage0.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 784f5eecf0b..907eb3ed401 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -203,6 +203,7 @@
        test(no_crate_inject, attr(deny(warnings))),
        test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))]
 
+#![cfg_attr(stage0, allow(unused_features))]
 #![feature(alloc)]
 #![feature(allow_internal_unstable)]
 #![feature(associated_consts)]