diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-04 22:00:28 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-13 11:27:01 +0100 |
| commit | d75c7530f38b56c4d916195570cdcd18c12ce273 (patch) | |
| tree | c085a3224dac72e296fbb4cc72476666ad7ebe65 /src/libstd | |
| parent | 9409c208a9a70eb6194c7502979843f42d6fed1a (diff) | |
| download | rust-d75c7530f38b56c4d916195570cdcd18c12ce273.tar.gz rust-d75c7530f38b56c4d916195570cdcd18c12ce273.zip | |
Reuse the `staged_api` feature for `rustc_const_unstable`
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 1dbb0c6ec83..8198ae73a31 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -293,7 +293,7 @@ #![feature(raw)] #![feature(renamed_spin_loop)] #![feature(rustc_attrs)] -#![feature(rustc_const_unstable)] +#![cfg_attr(bootstrap, feature(rustc_const_unstable))] #![feature(rustc_private)] #![feature(shrink_to)] #![feature(slice_concat_ext)] |
