@@ -1275,11 +1275,8 @@ macro_rules! int_impl {
12751275 /// i.e. when [`checked_neg`] would return `None`.
12761276 ///
12771277 #[ doc = concat!( "[`checked_neg`]: " , stringify!( $SelfT) , "::checked_neg" ) ]
1278- #[ unstable(
1279- feature = "unchecked_neg" ,
1280- reason = "niche optimization path" ,
1281- issue = "85122" ,
1282- ) ]
1278+ #[ stable( feature = "unchecked_neg" , since = "CURRENT_RUSTC_VERSION" ) ]
1279+ #[ rustc_const_stable( feature = "unchecked_neg" , since = "CURRENT_RUSTC_VERSION" ) ]
12831280 #[ must_use = "this returns the result of the operation, \
12841281 without modifying the original"]
12851282 #[ inline( always) ]
@@ -1395,11 +1392,8 @@ macro_rules! int_impl {
13951392 /// i.e. when [`checked_shl`] would return `None`.
13961393 ///
13971394 #[ doc = concat!( "[`checked_shl`]: " , stringify!( $SelfT) , "::checked_shl" ) ]
1398- #[ unstable(
1399- feature = "unchecked_shifts" ,
1400- reason = "niche optimization path" ,
1401- issue = "85122" ,
1402- ) ]
1395+ #[ stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
1396+ #[ rustc_const_stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
14031397 #[ must_use = "this returns the result of the operation, \
14041398 without modifying the original"]
14051399 #[ inline( always) ]
@@ -1570,11 +1564,8 @@ macro_rules! int_impl {
15701564 /// i.e. when [`checked_shr`] would return `None`.
15711565 ///
15721566 #[ doc = concat!( "[`checked_shr`]: " , stringify!( $SelfT) , "::checked_shr" ) ]
1573- #[ unstable(
1574- feature = "unchecked_shifts" ,
1575- reason = "niche optimization path" ,
1576- issue = "85122" ,
1577- ) ]
1567+ #[ stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
1568+ #[ rustc_const_stable( feature = "unchecked_shifts" , since = "CURRENT_RUSTC_VERSION" ) ]
15781569 #[ must_use = "this returns the result of the operation, \
15791570 without modifying the original"]
15801571 #[ inline( always) ]
0 commit comments