about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorSean McArthur <sean.monstar@gmail.com>2017-07-06 11:52:25 -0700
committerSean McArthur <sean.monstar@gmail.com>2017-07-06 11:52:25 -0700
commit74b2d693589add69cf03588ae0eb336c1be7d52b (patch)
treeed50e4811d1305e4a2a444c033a037b9a3018b52 /src/libstd/lib.rs
parentccf401f8f7847413ac43f38e3c86016becf67b07 (diff)
downloadrust-74b2d693589add69cf03588ae0eb336c1be7d52b.tar.gz
rust-74b2d693589add69cf03588ae0eb336c1be7d52b.zip
remove associated_consts feature gate
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index c4bdf7c5b82..2fc107c663b 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -245,7 +245,6 @@
 #![feature(allocator_internals)]
 #![feature(allow_internal_unstable)]
 #![feature(asm)]
-#![feature(associated_consts)]
 #![feature(box_syntax)]
 #![feature(cfg_target_has_atomic)]
 #![feature(cfg_target_thread_local)]
@@ -320,6 +319,7 @@
 #![cfg_attr(test, feature(float_bits_conv))]
 
 #![cfg_attr(not(stage0), default_lib_allocator)]
+#![cfg_attr(stage0, feature(associated_consts))]
 
 // Explicitly import the prelude. The compiler uses this same unstable attribute
 // to import the prelude implicitly when building crates that depend on std.