Skip to content

Commit b5b383b

Browse files
pietroalbiniMark-Simulacrum
authored andcommitted
update stabilization version numbers
1 parent a17a776 commit b5b383b

File tree

5 files changed

+34
-34
lines changed

5 files changed

+34
-34
lines changed

core/src/char/methods.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl char {
140140
/// assert_eq!(None, c);
141141
/// ```
142142
#[stable(feature = "assoc_char_funcs", since = "1.52.0")]
143-
#[rustc_const_stable(feature = "const_char_convert", since = "CURRENT_RUSTC_VERSION")]
143+
#[rustc_const_stable(feature = "const_char_convert", since = "1.67.0")]
144144
#[must_use]
145145
#[inline]
146146
pub const fn from_u32(i: u32) -> Option<char> {
@@ -241,7 +241,7 @@ impl char {
241241
/// let _c = char::from_digit(1, 37);
242242
/// ```
243243
#[stable(feature = "assoc_char_funcs", since = "1.52.0")]
244-
#[rustc_const_stable(feature = "const_char_convert", since = "CURRENT_RUSTC_VERSION")]
244+
#[rustc_const_stable(feature = "const_char_convert", since = "1.67.0")]
245245
#[must_use]
246246
#[inline]
247247
pub const fn from_digit(num: u32, radix: u32) -> Option<char> {
@@ -338,7 +338,7 @@ impl char {
338338
/// let _ = '1'.to_digit(37);
339339
/// ```
340340
#[stable(feature = "rust1", since = "1.0.0")]
341-
#[rustc_const_stable(feature = "const_char_convert", since = "CURRENT_RUSTC_VERSION")]
341+
#[rustc_const_stable(feature = "const_char_convert", since = "1.67.0")]
342342
#[must_use = "this returns the result of the operation, \
343343
without modifying the original"]
344344
#[inline]

core/src/char/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub fn decode_utf16<I: IntoIterator<Item = u16>>(iter: I) -> DecodeUtf16<I::Into
110110

111111
/// Converts a `u32` to a `char`. Use [`char::from_u32`] instead.
112112
#[stable(feature = "rust1", since = "1.0.0")]
113-
#[rustc_const_stable(feature = "const_char_convert", since = "CURRENT_RUSTC_VERSION")]
113+
#[rustc_const_stable(feature = "const_char_convert", since = "1.67.0")]
114114
#[must_use]
115115
#[inline]
116116
pub const fn from_u32(i: u32) -> Option<char> {
@@ -130,7 +130,7 @@ pub const unsafe fn from_u32_unchecked(i: u32) -> char {
130130

131131
/// Converts a digit in the given radix to a `char`. Use [`char::from_digit`] instead.
132132
#[stable(feature = "rust1", since = "1.0.0")]
133-
#[rustc_const_stable(feature = "const_char_convert", since = "CURRENT_RUSTC_VERSION")]
133+
#[rustc_const_stable(feature = "const_char_convert", since = "1.67.0")]
134134
#[must_use]
135135
#[inline]
136136
pub const fn from_digit(num: u32, radix: u32) -> Option<char> {

core/src/num/int_macros.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,8 +2290,8 @@ macro_rules! int_impl {
22902290
/// ```
22912291
#[doc = concat!("assert_eq!(5", stringify!($SelfT), ".ilog(5), 1);")]
22922292
/// ```
2293-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2294-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2293+
#[stable(feature = "int_log", since = "1.67.0")]
2294+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
22952295
#[rustc_allow_const_fn_unstable(const_option)]
22962296
#[must_use = "this returns the result of the operation, \
22972297
without modifying the original"]
@@ -2313,8 +2313,8 @@ macro_rules! int_impl {
23132313
/// ```
23142314
#[doc = concat!("assert_eq!(2", stringify!($SelfT), ".ilog2(), 1);")]
23152315
/// ```
2316-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2317-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2316+
#[stable(feature = "int_log", since = "1.67.0")]
2317+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
23182318
#[rustc_allow_const_fn_unstable(const_option)]
23192319
#[must_use = "this returns the result of the operation, \
23202320
without modifying the original"]
@@ -2335,8 +2335,8 @@ macro_rules! int_impl {
23352335
/// ```
23362336
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".ilog10(), 1);")]
23372337
/// ```
2338-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2339-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2338+
#[stable(feature = "int_log", since = "1.67.0")]
2339+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
23402340
#[rustc_allow_const_fn_unstable(const_option)]
23412341
#[must_use = "this returns the result of the operation, \
23422342
without modifying the original"]
@@ -2360,8 +2360,8 @@ macro_rules! int_impl {
23602360
/// ```
23612361
#[doc = concat!("assert_eq!(5", stringify!($SelfT), ".checked_ilog(5), Some(1));")]
23622362
/// ```
2363-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2364-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2363+
#[stable(feature = "int_log", since = "1.67.0")]
2364+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
23652365
#[must_use = "this returns the result of the operation, \
23662366
without modifying the original"]
23672367
#[inline]
@@ -2396,8 +2396,8 @@ macro_rules! int_impl {
23962396
/// ```
23972397
#[doc = concat!("assert_eq!(2", stringify!($SelfT), ".checked_ilog2(), Some(1));")]
23982398
/// ```
2399-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2400-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2399+
#[stable(feature = "int_log", since = "1.67.0")]
2400+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
24012401
#[must_use = "this returns the result of the operation, \
24022402
without modifying the original"]
24032403
#[inline]
@@ -2420,8 +2420,8 @@ macro_rules! int_impl {
24202420
/// ```
24212421
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_ilog10(), Some(1));")]
24222422
/// ```
2423-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2424-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
2423+
#[stable(feature = "int_log", since = "1.67.0")]
2424+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
24252425
#[must_use = "this returns the result of the operation, \
24262426
without modifying the original"]
24272427
#[inline]

core/src/num/nonzero.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ macro_rules! nonzero_unsigned_operations {
462462
#[doc = concat!("assert_eq!(", stringify!($Ty), "::new(8).unwrap().ilog2(), 3);")]
463463
#[doc = concat!("assert_eq!(", stringify!($Ty), "::new(9).unwrap().ilog2(), 3);")]
464464
/// ```
465-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
466-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
465+
#[stable(feature = "int_log", since = "1.67.0")]
466+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
467467
#[must_use = "this returns the result of the operation, \
468468
without modifying the original"]
469469
#[inline]
@@ -486,8 +486,8 @@ macro_rules! nonzero_unsigned_operations {
486486
#[doc = concat!("assert_eq!(", stringify!($Ty), "::new(100).unwrap().ilog10(), 2);")]
487487
#[doc = concat!("assert_eq!(", stringify!($Ty), "::new(101).unwrap().ilog10(), 2);")]
488488
/// ```
489-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
490-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
489+
#[stable(feature = "int_log", since = "1.67.0")]
490+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
491491
#[must_use = "this returns the result of the operation, \
492492
without modifying the original"]
493493
#[inline]
@@ -1253,7 +1253,7 @@ macro_rules! nonzero_bits {
12531253
///
12541254
#[doc = concat!("assert_eq!(", stringify!($Ty), "::BITS, ", stringify!($Int), "::BITS);")]
12551255
/// ```
1256-
#[stable(feature = "nonzero_bits", since = "CURRENT_RUSTC_VERSION")]
1256+
#[stable(feature = "nonzero_bits", since = "1.67.0")]
12571257
pub const BITS: u32 = <$Int>::BITS;
12581258
}
12591259
)+

core/src/num/uint_macros.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,8 @@ macro_rules! uint_impl {
703703
/// ```
704704
#[doc = concat!("assert_eq!(5", stringify!($SelfT), ".ilog(5), 1);")]
705705
/// ```
706-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
707-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
706+
#[stable(feature = "int_log", since = "1.67.0")]
707+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
708708
#[rustc_allow_const_fn_unstable(const_option)]
709709
#[must_use = "this returns the result of the operation, \
710710
without modifying the original"]
@@ -726,8 +726,8 @@ macro_rules! uint_impl {
726726
/// ```
727727
#[doc = concat!("assert_eq!(2", stringify!($SelfT), ".ilog2(), 1);")]
728728
/// ```
729-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
730-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
729+
#[stable(feature = "int_log", since = "1.67.0")]
730+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
731731
#[rustc_allow_const_fn_unstable(const_option)]
732732
#[must_use = "this returns the result of the operation, \
733733
without modifying the original"]
@@ -748,8 +748,8 @@ macro_rules! uint_impl {
748748
/// ```
749749
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".ilog10(), 1);")]
750750
/// ```
751-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
752-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
751+
#[stable(feature = "int_log", since = "1.67.0")]
752+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
753753
#[rustc_allow_const_fn_unstable(const_option)]
754754
#[must_use = "this returns the result of the operation, \
755755
without modifying the original"]
@@ -773,8 +773,8 @@ macro_rules! uint_impl {
773773
/// ```
774774
#[doc = concat!("assert_eq!(5", stringify!($SelfT), ".checked_ilog(5), Some(1));")]
775775
/// ```
776-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
777-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
776+
#[stable(feature = "int_log", since = "1.67.0")]
777+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
778778
#[must_use = "this returns the result of the operation, \
779779
without modifying the original"]
780780
#[inline]
@@ -809,8 +809,8 @@ macro_rules! uint_impl {
809809
/// ```
810810
#[doc = concat!("assert_eq!(2", stringify!($SelfT), ".checked_ilog2(), Some(1));")]
811811
/// ```
812-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
813-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
812+
#[stable(feature = "int_log", since = "1.67.0")]
813+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
814814
#[must_use = "this returns the result of the operation, \
815815
without modifying the original"]
816816
#[inline]
@@ -831,8 +831,8 @@ macro_rules! uint_impl {
831831
/// ```
832832
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_ilog10(), Some(1));")]
833833
/// ```
834-
#[stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
835-
#[rustc_const_stable(feature = "int_log", since = "CURRENT_RUSTC_VERSION")]
834+
#[stable(feature = "int_log", since = "1.67.0")]
835+
#[rustc_const_stable(feature = "int_log", since = "1.67.0")]
836836
#[must_use = "this returns the result of the operation, \
837837
without modifying the original"]
838838
#[inline]

0 commit comments

Comments
 (0)