@@ -467,8 +467,8 @@ macro_rules! int_impl {
467
467
#[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_add_unsigned(2), Some(3));" ) ]
468
468
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).checked_add_unsigned(3), None);" ) ]
469
469
/// ```
470
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
471
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
470
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
471
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
472
472
#[ must_use = "this returns the result of the operation, \
473
473
without modifying the original"]
474
474
#[ inline]
@@ -535,8 +535,8 @@ macro_rules! int_impl {
535
535
#[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_sub_unsigned(2), Some(-1));" ) ]
536
536
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN + 2).checked_sub_unsigned(3), None);" ) ]
537
537
/// ```
538
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
539
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
538
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
539
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
540
540
#[ must_use = "this returns the result of the operation, \
541
541
without modifying the original"]
542
542
#[ inline]
@@ -905,8 +905,8 @@ macro_rules! int_impl {
905
905
#[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".saturating_add_unsigned(2), 3);" ) ]
906
906
#[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.saturating_add_unsigned(100), " , stringify!( $SelfT) , "::MAX);" ) ]
907
907
/// ```
908
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
909
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
908
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
909
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
910
910
#[ must_use = "this returns the result of the operation, \
911
911
without modifying the original"]
912
912
#[ inline]
@@ -951,8 +951,8 @@ macro_rules! int_impl {
951
951
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".saturating_sub_unsigned(127), -27);" ) ]
952
952
#[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MIN.saturating_sub_unsigned(100), " , stringify!( $SelfT) , "::MIN);" ) ]
953
953
/// ```
954
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
955
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
954
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
955
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
956
956
#[ must_use = "this returns the result of the operation, \
957
957
without modifying the original"]
958
958
#[ inline]
@@ -1129,8 +1129,8 @@ macro_rules! int_impl {
1129
1129
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_add_unsigned(27), 127);" ) ]
1130
1130
#[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.wrapping_add_unsigned(2), " , stringify!( $SelfT) , "::MIN + 1);" ) ]
1131
1131
/// ```
1132
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1133
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1132
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1133
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1134
1134
#[ must_use = "this returns the result of the operation, \
1135
1135
without modifying the original"]
1136
1136
#[ inline( always) ]
@@ -1169,8 +1169,8 @@ macro_rules! int_impl {
1169
1169
#[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".wrapping_sub_unsigned(127), -127);" ) ]
1170
1170
#[ doc = concat!( "assert_eq!((-2" , stringify!( $SelfT) , ").wrapping_sub_unsigned(" , stringify!( $UnsignedT) , "::MAX), -1);" ) ]
1171
1171
/// ```
1172
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1173
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1172
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1173
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1174
1174
#[ must_use = "this returns the result of the operation, \
1175
1175
without modifying the original"]
1176
1176
#[ inline( always) ]
@@ -1566,8 +1566,8 @@ macro_rules! int_impl {
1566
1566
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN).overflowing_add_unsigned(" , stringify!( $UnsignedT) , "::MAX), (" , stringify!( $SelfT) , "::MAX, false));" ) ]
1567
1567
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).overflowing_add_unsigned(3), (" , stringify!( $SelfT) , "::MIN, true));" ) ]
1568
1568
/// ```
1569
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1570
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1569
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1570
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1571
1571
#[ must_use = "this returns the result of the operation, \
1572
1572
without modifying the original"]
1573
1573
#[ inline]
@@ -1648,8 +1648,8 @@ macro_rules! int_impl {
1648
1648
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX).overflowing_sub_unsigned(" , stringify!( $UnsignedT) , "::MAX), (" , stringify!( $SelfT) , "::MIN, false));" ) ]
1649
1649
#[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN + 2).overflowing_sub_unsigned(3), (" , stringify!( $SelfT) , "::MAX, true));" ) ]
1650
1650
/// ```
1651
- #[ stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1652
- #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1651
+ #[ stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1652
+ #[ rustc_const_stable( feature = "mixed_integer_ops" , since = "1.66.0 " ) ]
1653
1653
#[ must_use = "this returns the result of the operation, \
1654
1654
without modifying the original"]
1655
1655
#[ inline]
0 commit comments