about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-23 15:08:06 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-30 09:43:41 +0100
commit52b67b1766014ea73bac605ca643b1ddd69f1bca (patch)
treec87a164a77fbcd71f9f5cdd043c9a0741bee1dbd /src/libcore/lib.rs
parentdf2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65 (diff)
downloadrust-52b67b1766014ea73bac605ca643b1ddd69f1bca.tar.gz
rust-52b67b1766014ea73bac605ca643b1ddd69f1bca.zip
Remove a bunch of now-unnecessary `const_let` feature gates
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 726e891df0c..ae223941778 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -120,7 +120,7 @@
 #![feature(const_slice_len)]
 #![feature(const_str_as_bytes)]
 #![feature(const_str_len)]
-#![feature(const_let)]
+#![cfg_attr(stage0, feature(const_let))]
 #![feature(const_int_rotate)]
 #![feature(const_int_wrapping)]
 #![feature(const_int_sign)]