about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-04 22:00:28 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-13 11:27:01 +0100
commitd75c7530f38b56c4d916195570cdcd18c12ce273 (patch)
treec085a3224dac72e296fbb4cc72476666ad7ebe65 /src/liballoc
parent9409c208a9a70eb6194c7502979843f42d6fed1a (diff)
downloadrust-d75c7530f38b56c4d916195570cdcd18c12ce273.tar.gz
rust-d75c7530f38b56c4d916195570cdcd18c12ce273.zip
Reuse the `staged_api` feature for `rustc_const_unstable`
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index ddfa6797a57..d828e374a7b 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -117,7 +117,7 @@
 #![feature(unsized_locals)]
 #![feature(allocator_internals)]
 #![cfg_attr(bootstrap, feature(on_unimplemented))]
-#![feature(rustc_const_unstable)]
+#![cfg_attr(bootstrap, feature(rustc_const_unstable))]
 #![feature(slice_partition_dedup)]
 #![feature(maybe_uninit_extra, maybe_uninit_slice)]
 #![feature(alloc_layout_extra)]