From d75c7530f38b56c4d916195570cdcd18c12ce273 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Wed, 4 Dec 2019 22:00:28 +0100 Subject: Reuse the `staged_api` feature for `rustc_const_unstable` --- src/liballoc/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc/lib.rs') 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)] -- cgit 1.4.1-3-g733a5