File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 53
53
issue = "none"
54
54
) ]
55
55
#![ allow( missing_docs) ]
56
+ // intrinsics are never stable but may need to be const-stable for other items
57
+ #![ cfg_attr( not( bootstrap) , allow( rustc:: incompatible_stability) ) ]
56
58
57
59
use crate :: marker:: DiscriminantKind ;
58
60
use crate :: mem;
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ macro_rules! saturating_int_impl {
628
628
/// ```
629
629
#[ inline]
630
630
#[ unstable( feature = "saturating_int_impl" , issue = "87920" ) ]
631
- #[ rustc_const_stable ( feature = "const_reverse_bits " , since = "1.37.0 " ) ]
631
+ #[ rustc_const_unstable ( feature = "saturating_int_impl " , issue = "87920 " ) ]
632
632
#[ must_use = "this returns the result of the operation, \
633
633
without modifying the original"]
634
634
pub const fn reverse_bits( self ) -> Self {
Original file line number Diff line number Diff line change @@ -2208,7 +2208,7 @@ macro_rules! uint_impl {
2208
2208
/// ```
2209
2209
#[ unstable( feature = "wrapping_next_power_of_two" , issue = "32463" ,
2210
2210
reason = "needs decision on wrapping behaviour" ) ]
2211
- #[ rustc_const_stable ( feature = "const_int_pow " , since = "1.50.0 " ) ]
2211
+ #[ rustc_const_unstable ( feature = "wrapping_next_power_of_two " , issue = "32463 " ) ]
2212
2212
#[ must_use = "this returns the result of the operation, \
2213
2213
without modifying the original"]
2214
2214
pub const fn wrapping_next_power_of_two( self ) -> Self {
You can’t perform that action at this time.
0 commit comments