@@ -522,7 +522,8 @@ macro_rules! uint_impl {
522
522
#[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_div(0), None);" ) ]
523
523
/// ```
524
524
#[ 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) ]
526
527
#[ must_use = "this returns the result of the operation, \
527
528
without modifying the original"]
528
529
#[ inline]
@@ -548,7 +549,7 @@ macro_rules! uint_impl {
548
549
#[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_div_euclid(0), None);" ) ]
549
550
/// ```
550
551
#[ 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 " ) ]
552
553
#[ must_use = "this returns the result of the operation, \
553
554
without modifying the original"]
554
555
#[ inline]
@@ -573,7 +574,8 @@ macro_rules! uint_impl {
573
574
#[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_rem(0), None);" ) ]
574
575
/// ```
575
576
#[ 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) ]
577
579
#[ must_use = "this returns the result of the operation, \
578
580
without modifying the original"]
579
581
#[ inline]
@@ -599,7 +601,7 @@ macro_rules! uint_impl {
599
601
#[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_rem_euclid(0), None);" ) ]
600
602
/// ```
601
603
#[ 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 " ) ]
603
605
#[ must_use = "this returns the result of the operation, \
604
606
without modifying the original"]
605
607
#[ inline]
@@ -876,7 +878,7 @@ macro_rules! uint_impl {
876
878
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_div(10), 10);" ) ]
877
879
/// ```
878
880
#[ 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 " ) ]
880
882
#[ must_use = "this returns the result of the operation, \
881
883
without modifying the original"]
882
884
#[ inline]
@@ -901,7 +903,7 @@ macro_rules! uint_impl {
901
903
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_div_euclid(10), 10);" ) ]
902
904
/// ```
903
905
#[ 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 " ) ]
905
907
#[ must_use = "this returns the result of the operation, \
906
908
without modifying the original"]
907
909
#[ inline]
@@ -924,7 +926,7 @@ macro_rules! uint_impl {
924
926
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_rem(10), 0);" ) ]
925
927
/// ```
926
928
#[ 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 " ) ]
928
930
#[ must_use = "this returns the result of the operation, \
929
931
without modifying the original"]
930
932
#[ inline]
@@ -950,7 +952,7 @@ macro_rules! uint_impl {
950
952
#[ doc = concat!( "assert_eq!(100" , stringify!( $SelfT) , ".wrapping_rem_euclid(10), 0);" ) ]
951
953
/// ```
952
954
#[ 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 " ) ]
954
956
#[ must_use = "this returns the result of the operation, \
955
957
without modifying the original"]
956
958
#[ inline]
@@ -1185,7 +1187,7 @@ macro_rules! uint_impl {
1185
1187
/// ```
1186
1188
#[ inline]
1187
1189
#[ 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 " ) ]
1189
1191
#[ must_use = "this returns the result of the operation, \
1190
1192
without modifying the original"]
1191
1193
pub const fn overflowing_div( self , rhs: Self ) -> ( Self , bool ) {
@@ -1215,7 +1217,7 @@ macro_rules! uint_impl {
1215
1217
/// ```
1216
1218
#[ inline]
1217
1219
#[ 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 " ) ]
1219
1221
#[ must_use = "this returns the result of the operation, \
1220
1222
without modifying the original"]
1221
1223
pub const fn overflowing_div_euclid( self , rhs: Self ) -> ( Self , bool ) {
@@ -1242,7 +1244,7 @@ macro_rules! uint_impl {
1242
1244
/// ```
1243
1245
#[ inline]
1244
1246
#[ 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 " ) ]
1246
1248
#[ must_use = "this returns the result of the operation, \
1247
1249
without modifying the original"]
1248
1250
pub const fn overflowing_rem( self , rhs: Self ) -> ( Self , bool ) {
@@ -1272,7 +1274,7 @@ macro_rules! uint_impl {
1272
1274
/// ```
1273
1275
#[ inline]
1274
1276
#[ 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 " ) ]
1276
1278
#[ must_use = "this returns the result of the operation, \
1277
1279
without modifying the original"]
1278
1280
pub const fn overflowing_rem_euclid( self , rhs: Self ) -> ( Self , bool ) {
@@ -1456,7 +1458,7 @@ macro_rules! uint_impl {
1456
1458
#[ doc = concat!( "assert_eq!(7" , stringify!( $SelfT) , ".div_euclid(4), 1); // or any other integer type" ) ]
1457
1459
/// ```
1458
1460
#[ 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 " ) ]
1460
1462
#[ must_use = "this returns the result of the operation, \
1461
1463
without modifying the original"]
1462
1464
#[ inline]
@@ -1484,7 +1486,7 @@ macro_rules! uint_impl {
1484
1486
#[ doc = concat!( "assert_eq!(7" , stringify!( $SelfT) , ".rem_euclid(4), 3); // or any other integer type" ) ]
1485
1487
/// ```
1486
1488
#[ 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 " ) ]
1488
1490
#[ must_use = "this returns the result of the operation, \
1489
1491
without modifying the original"]
1490
1492
#[ inline]
0 commit comments