File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
src/librustc_data_structures Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/// A simple static assertion macro. 
22#[ macro_export]  
3- #[ cfg_attr( stage0 ,  allow_internal_unstable( type_ascription,  underscore_const_names) ) ]  
4- #[ cfg_attr( not( stage0 ) ,  allow_internal_unstable( type_ascription) ) ]  
3+ #[ cfg_attr( bootstrap ,  allow_internal_unstable( type_ascription,  underscore_const_names) ) ]  
4+ #[ cfg_attr( not( bootstrap ) ,  allow_internal_unstable( type_ascription) ) ]  
55macro_rules!  static_assert { 
66 ( $test: expr)  => { 
77 // Use the bool to access an array such that if the bool is false, the access 
@@ -13,7 +13,7 @@ macro_rules! static_assert {
1313
1414/// Type size assertion. The first argument is a type and the second argument is its expected size. 
1515#[ macro_export]  
16- #[ cfg_attr( stage0 ,  allow_internal_unstable( underscore_const_names) ) ]  
16+ #[ cfg_attr( bootstrap ,  allow_internal_unstable( underscore_const_names) ) ]  
1717macro_rules!  static_assert_size { 
1818 ( $ty: ty,  $size: expr)  => { 
1919 const  _:  [ ( ) ;  $size]  = [ ( ) ;  :: std:: mem:: size_of:: <$ty>( ) ] ; 
                         You can’t perform that action at this time. 
           
                  
0 commit comments