@@ -522,7 +522,8 @@ macro_rules! uint_impl {
522522 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_div(0), None);" ) ]
523523 /// ```
524524 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
525- #[ rustc_const_unstable( feature = "const_checked_int_methods" , issue = "53718" ) ]
525+ #[ rustc_const_stable( feature = "const_checked_int_methods" , since = "1.51.0" ) ]
526+ #[ rustc_allow_const_fn_unstable( const_int_unchecked_arith) ]
526527 #[ must_use = "this returns the result of the operation, \
527528 without modifying the original"]
528529 #[ inline]
@@ -548,7 +549,7 @@ macro_rules! uint_impl {
548549 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_div_euclid(0), None);" ) ]
549550 /// ```
550551 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
551- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
552+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
552553 #[ must_use = "this returns the result of the operation, \
553554 without modifying the original"]
554555 #[ inline]
@@ -573,7 +574,8 @@ macro_rules! uint_impl {
573574 #[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_rem(0), None);" ) ]
574575 /// ```
575576 #[ stable( feature = "wrapping" , since = "1.7.0" ) ]
576- #[ rustc_const_unstable( feature = "const_checked_int_methods" , issue = "53718" ) ]
577+ #[ rustc_const_stable( feature = "const_checked_int_methods" , since = "1.51.0" ) ]
578+ #[ rustc_allow_const_fn_unstable( const_int_unchecked_arith) ]
577579 #[ must_use = "this returns the result of the operation, \
578580 without modifying the original"]
579581 #[ inline]
@@ -599,7 +601,7 @@ macro_rules! uint_impl {
599601 #[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_rem_euclid(0), None);" ) ]
600602 /// ```
601603 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
602- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
604+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
603605 #[ must_use = "this returns the result of the operation, \
604606 without modifying the original"]
605607 #[ inline]
@@ -876,7 +878,7 @@ macro_rules! uint_impl {
876878 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_div(10), 10);" ) ]
877879 /// ```
878880 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
879- #[ rustc_const_unstable ( feature = "const_wrapping_int_methods" , issue = "53718 " ) ]
881+ #[ rustc_const_stable ( feature = "const_wrapping_int_methods" , since = "1.51.0 " ) ]
880882 #[ must_use = "this returns the result of the operation, \
881883 without modifying the original"]
882884 #[ inline]
@@ -901,7 +903,7 @@ macro_rules! uint_impl {
901903 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_div_euclid(10), 10);" ) ]
902904 /// ```
903905 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
904- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
906+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
905907 #[ must_use = "this returns the result of the operation, \
906908 without modifying the original"]
907909 #[ inline]
@@ -924,7 +926,7 @@ macro_rules! uint_impl {
924926 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_rem(10), 0);" ) ]
925927 /// ```
926928 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
927- #[ rustc_const_unstable ( feature = "const_wrapping_int_methods" , issue = "53718 " ) ]
929+ #[ rustc_const_stable ( feature = "const_wrapping_int_methods" , since = "1.51.0 " ) ]
928930 #[ must_use = "this returns the result of the operation, \
929931 without modifying the original"]
930932 #[ inline]
@@ -950,7 +952,7 @@ macro_rules! uint_impl {
950952 #[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_rem_euclid(10), 0);" ) ]
951953 /// ```
952954 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
953- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
955+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
954956 #[ must_use = "this returns the result of the operation, \
955957 without modifying the original"]
956958 #[ inline]
@@ -1185,7 +1187,7 @@ macro_rules! uint_impl {
11851187 /// ```
11861188 #[ inline]
11871189 #[ stable( feature = "wrapping" , since = "1.7.0" ) ]
1188- #[ rustc_const_unstable ( feature = "const_overflowing_int_methods" , issue = "53718 " ) ]
1190+ #[ rustc_const_stable ( feature = "const_overflowing_int_methods" , since = "1.51.0 " ) ]
11891191 #[ must_use = "this returns the result of the operation, \
11901192 without modifying the original"]
11911193 pub const fn overflowing_div( self , rhs: Self ) -> ( Self , bool ) {
@@ -1215,7 +1217,7 @@ macro_rules! uint_impl {
12151217 /// ```
12161218 #[ inline]
12171219 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
1218- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
1220+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
12191221 #[ must_use = "this returns the result of the operation, \
12201222 without modifying the original"]
12211223 pub const fn overflowing_div_euclid( self , rhs: Self ) -> ( Self , bool ) {
@@ -1242,7 +1244,7 @@ macro_rules! uint_impl {
12421244 /// ```
12431245 #[ inline]
12441246 #[ stable( feature = "wrapping" , since = "1.7.0" ) ]
1245- #[ rustc_const_unstable ( feature = "const_overflowing_int_methods" , issue = "53718 " ) ]
1247+ #[ rustc_const_stable ( feature = "const_overflowing_int_methods" , since = "1.51.0 " ) ]
12461248 #[ must_use = "this returns the result of the operation, \
12471249 without modifying the original"]
12481250 pub const fn overflowing_rem( self , rhs: Self ) -> ( Self , bool ) {
@@ -1272,7 +1274,7 @@ macro_rules! uint_impl {
12721274 /// ```
12731275 #[ inline]
12741276 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
1275- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
1277+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
12761278 #[ must_use = "this returns the result of the operation, \
12771279 without modifying the original"]
12781280 pub const fn overflowing_rem_euclid( self , rhs: Self ) -> ( Self , bool ) {
@@ -1456,7 +1458,7 @@ macro_rules! uint_impl {
14561458 #[ doc = concat!( "assert_eq!(7" , stringify!( $SelfT) , ".div_euclid(4), 1); // or any other integer type" ) ]
14571459 /// ```
14581460 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
1459- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
1461+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
14601462 #[ must_use = "this returns the result of the operation, \
14611463 without modifying the original"]
14621464 #[ inline]
@@ -1484,7 +1486,7 @@ macro_rules! uint_impl {
14841486 #[ doc = concat!( "assert_eq!(7" , stringify!( $SelfT) , ".rem_euclid(4), 3); // or any other integer type" ) ]
14851487 /// ```
14861488 #[ stable( feature = "euclidean_division" , since = "1.38.0" ) ]
1487- #[ rustc_const_unstable ( feature = "const_euclidean_int_methods" , issue = "53718 " ) ]
1489+ #[ rustc_const_stable ( feature = "const_euclidean_int_methods" , since = "1.51.0 " ) ]
14881490 #[ must_use = "this returns the result of the operation, \
14891491 without modifying the original"]
14901492 #[ inline]
0 commit comments