@@ -140,7 +140,7 @@ impl char {
140
140
/// assert_eq!(None, c);
141
141
/// ```
142
142
#[ stable( feature = "assoc_char_funcs" , since = "1.52.0" ) ]
143
- #[ rustc_const_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
143
+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
144
144
#[ must_use]
145
145
#[ inline]
146
146
pub const fn from_u32 ( i : u32 ) -> Option < char > {
@@ -241,7 +241,7 @@ impl char {
241
241
/// let _c = char::from_digit(1, 37);
242
242
/// ```
243
243
#[ stable( feature = "assoc_char_funcs" , since = "1.52.0" ) ]
244
- #[ rustc_const_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
244
+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
245
245
#[ must_use]
246
246
#[ inline]
247
247
pub const fn from_digit ( num : u32 , radix : u32 ) -> Option < char > {
@@ -338,7 +338,7 @@ impl char {
338
338
/// let _ = '1'.to_digit(37);
339
339
/// ```
340
340
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
341
- #[ rustc_const_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
341
+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
342
342
#[ must_use = "this returns the result of the operation, \
343
343
without modifying the original"]
344
344
#[ inline]
0 commit comments