@@ -464,12 +464,11 @@ macro_rules! int_impl {
464464 /// Basic usage:
465465 ///
466466 /// ```
467- /// # #![feature(mixed_integer_ops)]
468467 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_add_unsigned(2), Some(3));" ) ]
469468 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).checked_add_unsigned(3), None);" ) ]
470469 /// ```
471- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
472- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
470+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
471+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
473472 #[ must_use = "this returns the result of the operation, \
474473 without modifying the original"]
475474 #[ inline]
@@ -533,12 +532,11 @@ macro_rules! int_impl {
533532 /// Basic usage:
534533 ///
535534 /// ```
536- /// # #![feature(mixed_integer_ops)]
537535 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_sub_unsigned(2), Some(-1));" ) ]
538536 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN + 2).checked_sub_unsigned(3), None);" ) ]
539537 /// ```
540- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
541- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
538+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
539+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
542540 #[ must_use = "this returns the result of the operation, \
543541 without modifying the original"]
544542 #[ inline]
@@ -907,12 +905,11 @@ macro_rules! int_impl {
907905 /// Basic usage:
908906 ///
909907 /// ```
910- /// # #![feature(mixed_integer_ops)]
911908 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".saturating_add_unsigned(2), 3);" ) ]
912909 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.saturating_add_unsigned(100), " , stringify!( $SelfT) , "::MAX);" ) ]
913910 /// ```
914- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
915- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
911+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
912+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
916913 #[ must_use = "this returns the result of the operation, \
917914 without modifying the original"]
918915 #[ inline]
@@ -954,12 +951,11 @@ macro_rules! int_impl {
954951 /// Basic usage:
955952 ///
956953 /// ```
957- /// # #![feature(mixed_integer_ops)]
958954 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".saturating_sub_unsigned(127), -27);" ) ]
959955 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MIN.saturating_sub_unsigned(100), " , stringify!( $SelfT) , "::MIN);" ) ]
960956 /// ```
961- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
962- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
957+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
958+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
963959 #[ must_use = "this returns the result of the operation, \
964960 without modifying the original"]
965961 #[ inline]
@@ -1135,12 +1131,11 @@ macro_rules! int_impl {
11351131 /// Basic usage:
11361132 ///
11371133 /// ```
1138- /// # #![feature(mixed_integer_ops)]
11391134 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_add_unsigned(27), 127);" ) ]
11401135 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.wrapping_add_unsigned(2), " , stringify!( $SelfT) , "::MIN + 1);" ) ]
11411136 /// ```
1142- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1143- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1137+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1138+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
11441139 #[ must_use = "this returns the result of the operation, \
11451140 without modifying the original"]
11461141 #[ inline( always) ]
@@ -1176,12 +1171,11 @@ macro_rules! int_impl {
11761171 /// Basic usage:
11771172 ///
11781173 /// ```
1179- /// # #![feature(mixed_integer_ops)]
11801174 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".wrapping_sub_unsigned(127), -127);" ) ]
11811175 #[ doc = concat!( "assert_eq!((-2" , stringify!( $SelfT) , ").wrapping_sub_unsigned(" , stringify!( $UnsignedT) , "::MAX), -1);" ) ]
11821176 /// ```
1183- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1184- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1177+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1178+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
11851179 #[ must_use = "this returns the result of the operation, \
11861180 without modifying the original"]
11871181 #[ inline( always) ]
@@ -1574,13 +1568,12 @@ macro_rules! int_impl {
15741568 /// Basic usage:
15751569 ///
15761570 /// ```
1577- /// # #![feature(mixed_integer_ops)]
15781571 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".overflowing_add_unsigned(2), (3, false));" ) ]
15791572 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN).overflowing_add_unsigned(" , stringify!( $UnsignedT) , "::MAX), (" , stringify!( $SelfT) , "::MAX, false));" ) ]
15801573 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).overflowing_add_unsigned(3), (" , stringify!( $SelfT) , "::MIN, true));" ) ]
15811574 /// ```
1582- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1583- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1575+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1576+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
15841577 #[ must_use = "this returns the result of the operation, \
15851578 without modifying the original"]
15861579 #[ inline]
@@ -1658,13 +1651,12 @@ macro_rules! int_impl {
16581651 /// Basic usage:
16591652 ///
16601653 /// ```
1661- /// # #![feature(mixed_integer_ops)]
16621654 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".overflowing_sub_unsigned(2), (-1, false));" ) ]
16631655 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX).overflowing_sub_unsigned(" , stringify!( $UnsignedT) , "::MAX), (" , stringify!( $SelfT) , "::MIN, false));" ) ]
16641656 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MIN + 2).overflowing_sub_unsigned(3), (" , stringify!( $SelfT) , "::MAX, true));" ) ]
16651657 /// ```
1666- #[ unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1667- #[ rustc_const_unstable ( feature = "mixed_integer_ops" , issue = "87840 " ) ]
1658+ #[ stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
1659+ #[ rustc_const_stable ( feature = "mixed_integer_ops" , since = "CURRENT_RUSTC_VERSION " ) ]
16681660 #[ must_use = "this returns the result of the operation, \
16691661 without modifying the original"]
16701662 #[ inline]
0 commit comments