@@ -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_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
143+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
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_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
244+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
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_unstable ( feature = "const_char_convert" , issue = "89259 " ) ]
341+ #[ rustc_const_stable ( feature = "const_char_convert" , since = "CURRENT_RUSTC_VERSION " ) ]
342342 #[ must_use = "this returns the result of the operation, \
343343 without modifying the original"]
344344 #[ inline]
0 commit comments