@@ -1259,11 +1259,8 @@ macro_rules! int_impl {
12591259 /// i.e. when [`checked_neg`] would return `None`.
12601260 ///
12611261 #[ doc = concat!( "[`checked_neg`]: " , stringify!( $SelfT) , "::checked_neg" ) ]
1262- #[ unstable(
1263- feature = "unchecked_neg" ,
1264- reason = "niche optimization path" ,
1265- issue = "85122" ,
1266- ) ]
1262+ #[ stable( feature = "unchecked_neg" , since = "CURRENT_RUSTC_VERSION" ) ]
1263+ #[ rustc_const_stable( feature = "unchecked_neg" , since = "CURRENT_RUSTC_VERSION" ) ]
12671264 #[ must_use = "this returns the result of the operation, \
12681265 without modifying the original"]
12691266 #[ inline( always) ]
@@ -1379,11 +1376,8 @@ macro_rules! int_impl {
13791376 /// i.e. when [`checked_shl`] would return `None`.
13801377 ///
13811378 #[ doc = concat!( "[`checked_shl`]: " , stringify!( $SelfT) , "::checked_shl" ) ]
1382- #[ unstable(
1383- feature = "unchecked_shifts" ,
1384- reason = "niche optimization path" ,
1385- issue = "85122" ,
1386- ) ]
1379+ #[ stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
1380+ #[ rustc_const_stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
13871381 #[ must_use = "this returns the result of the operation, \
13881382 without modifying the original"]
13891383 #[ inline( always) ]
@@ -1554,11 +1548,8 @@ macro_rules! int_impl {
15541548 /// i.e. when [`checked_shr`] would return `None`.
15551549 ///
15561550 #[ doc = concat!( "[`checked_shr`]: " , stringify!( $SelfT) , "::checked_shr" ) ]
1557- #[ unstable(
1558- feature = "unchecked_shifts" ,
1559- reason = "niche optimization path" ,
1560- issue = "85122" ,
1561- ) ]
1551+ #[ stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
1552+ #[ rustc_const_stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
15621553 #[ must_use = "this returns the result of the operation, \
15631554 without modifying the original"]
15641555 #[ inline( always) ]
0 commit comments