about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2017-10-04 22:00:22 -0500
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-17 22:50:15 +0100
commit831fd783416d9f87ec9308ed56e891d0b1ffdbcd (patch)
treefba456f839de14c0fc114beced70cf55a531f0e8 /src/libcore
parentcbe4ac30797f9e994b3ae275e3edf12b2d450800 (diff)
downloadrust-831fd783416d9f87ec9308ed56e891d0b1ffdbcd.tar.gz
rust-831fd783416d9f87ec9308ed56e891d0b1ffdbcd.zip
add doc_highlight feature flag and tests
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/lib.rs18
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)]