@@ -2807,7 +2807,7 @@ macro_rules! uint_impl {
28072807 /// assert_eq!((sum1, sum0), (9, 6));
28082808 /// ```
28092809 #[ stable( feature = "unsigned_bigint_helpers" , since = "1.91.0" ) ]
2810- #[ rustc_const_unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
2810+ #[ rustc_const_unstable( feature = "const_unsigned_bigint_helpers " , issue = "152015 " ) ]
28112811 #[ must_use = "this returns the result of the operation, \
28122812 without modifying the original"]
28132813 #[ inline]
@@ -2899,7 +2899,7 @@ macro_rules! uint_impl {
28992899 #[ doc = concat!( "assert_eq!((diff1, diff0), (3, " , stringify!( $SelfT) , "::MAX));" ) ]
29002900 /// ```
29012901 #[ stable( feature = "unsigned_bigint_helpers" , since = "1.91.0" ) ]
2902- #[ rustc_const_unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
2902+ #[ rustc_const_unstable( feature = "const_unsigned_bigint_helpers " , issue = "152015 " ) ]
29032903 #[ must_use = "this returns the result of the operation, \
29042904 without modifying the original"]
29052905 #[ inline]
@@ -3011,14 +3011,14 @@ macro_rules! uint_impl {
30113011 /// # Examples
30123012 ///
30133013 /// ```
3014- /// #![feature(bigint_helper_methods )]
3014+ /// #![feature(widening_mul )]
30153015 #[ doc = concat!( "assert_eq!(5_" , stringify!( $SelfT) , ".widening_mul(7), (35, 0));" ) ]
30163016 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.widening_mul(" , stringify!( $SelfT) , "::MAX), (1, " , stringify!( $SelfT) , "::MAX - 1));" ) ]
30173017 /// ```
30183018 ///
30193019 /// Compared to other `*_mul` methods:
30203020 /// ```
3021- /// #![feature(bigint_helper_methods )]
3021+ /// #![feature(widening_mul )]
30223022 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::widening_mul(1 << " , stringify!( $BITS_MINUS_ONE) , ", 6), (0, 3));" ) ]
30233023 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::overflowing_mul(1 << " , stringify!( $BITS_MINUS_ONE) , ", 6), (0, true));" ) ]
30243024 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::wrapping_mul(1 << " , stringify!( $BITS_MINUS_ONE) , ", 6), 0);" ) ]
@@ -3028,12 +3028,12 @@ macro_rules! uint_impl {
30283028 /// Please note that this example is shared among integer types, which is why `u32` is used.
30293029 ///
30303030 /// ```
3031- /// #![feature(bigint_helper_methods )]
3031+ /// #![feature(widening_mul )]
30323032 /// assert_eq!(5u32.widening_mul(2), (10, 0));
30333033 /// assert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
30343034 /// ```
3035- #[ unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
3036- #[ rustc_const_unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
3035+ #[ unstable( feature = "widening_mul " , issue = "152016 " ) ]
3036+ #[ rustc_const_unstable( feature = "widening_mul " , issue = "152016 " ) ]
30373037 #[ must_use = "this returns the result of the operation, \
30383038 without modifying the original"]
30393039 #[ inline]
@@ -3072,7 +3072,7 @@ macro_rules! uint_impl {
30723072 /// implementing it for wider-than-native types.
30733073 ///
30743074 /// ```
3075- /// #![feature(bigint_helper_methods )]
3075+ /// #![feature(const_unsigned_bigint_helpers )]
30763076 /// fn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {
30773077 /// let mut carry = 0;
30783078 /// for d in little_endian_digits.iter_mut() {
@@ -3097,7 +3097,7 @@ macro_rules! uint_impl {
30973097 /// except that it gives the value of the overflow instead of just whether one happened:
30983098 ///
30993099 /// ```
3100- /// #![feature(bigint_helper_methods )]
3100+ /// #![feature(const_unsigned_bigint_helpers )]
31013101 /// let r = u8::carrying_mul(7, 13, 0);
31023102 /// assert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));
31033103 /// let r = u8::carrying_mul(13, 42, 0);
@@ -3109,14 +3109,14 @@ macro_rules! uint_impl {
31093109 /// [`wrapping_add`](Self::wrapping_add) methods:
31103110 ///
31113111 /// ```
3112- /// #![feature(bigint_helper_methods )]
3112+ /// #![feature(const_unsigned_bigint_helpers )]
31133113 /// assert_eq!(
31143114 /// 789_u16.carrying_mul(456, 123).0,
31153115 /// 789_u16.wrapping_mul(456).wrapping_add(123),
31163116 /// );
31173117 /// ```
31183118 #[ stable( feature = "unsigned_bigint_helpers" , since = "1.91.0" ) ]
3119- #[ rustc_const_unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
3119+ #[ rustc_const_unstable( feature = "const_unsigned_bigint_helpers " , issue = "152015 " ) ]
31203120 #[ must_use = "this returns the result of the operation, \
31213121 without modifying the original"]
31223122 #[ inline]
@@ -3182,7 +3182,7 @@ macro_rules! uint_impl {
31823182 /// );
31833183 /// ```
31843184 #[ stable( feature = "unsigned_bigint_helpers" , since = "1.91.0" ) ]
3185- #[ rustc_const_unstable( feature = "bigint_helper_methods " , issue = "85532 " ) ]
3185+ #[ rustc_const_unstable( feature = "const_unsigned_bigint_helpers " , issue = "152015 " ) ]
31863186 #[ must_use = "this returns the result of the operation, \
31873187 without modifying the original"]
31883188 #[ inline]
0 commit comments