about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-08 01:00:40 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-06-10 06:17:39 +0200
commite62c9d7917052db098c6f27314f4daa5b9513387 (patch)
treef6f42463c821b25c92f456af7e3f8377d283ab91 /src/librustc_data_structures
parent48e863ed69cb29a0b4ff5e20519d30227a1f8df5 (diff)
downloadrust-e62c9d7917052db098c6f27314f4daa5b9513387.tar.gz
rust-e62c9d7917052db098c6f27314f4daa5b9513387.zip
Stabilize underscore_const_names: stage0 -> bootstrap.
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/macros.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_data_structures/macros.rs b/src/librustc_data_structures/macros.rs
index a813b5230d2..6e7a8e98853 100644
--- a/src/librustc_data_structures/macros.rs
+++ b/src/librustc_data_structures/macros.rs
@@ -1,7 +1,7 @@
 /// A simple static assertion macro.
 #[macro_export]
-#[cfg_attr(stage0, allow_internal_unstable(type_ascription, underscore_const_names))]
-#[cfg_attr(not(stage0), allow_internal_unstable(type_ascription))]
+#[cfg_attr(bootstrap, allow_internal_unstable(type_ascription, underscore_const_names))]
+#[cfg_attr(not(bootstrap), allow_internal_unstable(type_ascription))]
 macro_rules! static_assert {
     ($test:expr) => {
         // Use the bool to access an array such that if the bool is false, the access
@@ -13,7 +13,7 @@ macro_rules! static_assert {
 
 /// Type size assertion. The first argument is a type and the second argument is its expected size.
 #[macro_export]
-#[cfg_attr(stage0, allow_internal_unstable(underscore_const_names))]
+#[cfg_attr(bootstrap, allow_internal_unstable(underscore_const_names))]
 macro_rules! static_assert_size {
     ($ty:ty, $size:expr) => {
         const _: [(); $size] = [(); ::std::mem::size_of::<$ty>()];