diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2017-10-04 22:00:22 -0500 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-11-17 22:50:15 +0100 |
| commit | 831fd783416d9f87ec9308ed56e891d0b1ffdbcd (patch) | |
| tree | fba456f839de14c0fc114beced70cf55a531f0e8 /src/libcore | |
| parent | cbe4ac30797f9e994b3ae275e3edf12b2d450800 (diff) | |
| download | rust-831fd783416d9f87ec9308ed56e891d0b1ffdbcd.tar.gz rust-831fd783416d9f87ec9308ed56e891d0b1ffdbcd.zip | |
add doc_highlight feature flag and tests
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 4a57417e86a..631b9f98589 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -107,6 +107,24 @@ #![feature(const_unsafe_cell_new)] #![feature(const_cell_new)] #![feature(const_nonzero_new)] +#![cfg_attr(not(stage0), feature(doc_spotlight))] + +#![cfg_attr(not(stage0), feature(const_min_value))] +#![cfg_attr(not(stage0), feature(const_max_value))] +#![cfg_attr(not(stage0), feature(const_atomic_bool_new))] +#![cfg_attr(not(stage0), feature(const_atomic_isize_new))] +#![cfg_attr(not(stage0), feature(const_atomic_usize_new))] +#![cfg_attr(not(stage0), feature(const_atomic_i8_new))] +#![cfg_attr(not(stage0), feature(const_atomic_u8_new))] +#![cfg_attr(not(stage0), feature(const_atomic_i16_new))] +#![cfg_attr(not(stage0), feature(const_atomic_u16_new))] +#![cfg_attr(not(stage0), feature(const_atomic_i32_new))] +#![cfg_attr(not(stage0), feature(const_atomic_u32_new))] +#![cfg_attr(not(stage0), feature(const_atomic_i64_new))] +#![cfg_attr(not(stage0), feature(const_atomic_u64_new))] +#![cfg_attr(not(stage0), feature(const_unsafe_cell_new))] +#![cfg_attr(not(stage0), feature(const_cell_new))] +#![cfg_attr(not(stage0), feature(const_nonzero_new))] #[prelude_import] #[allow(unused)] |
