@@ -2475,8 +2475,9 @@ impl str {
24752475 /// assert_eq!("GRüßE, JüRGEN ❤", s);
24762476 /// ```
24772477 #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
2478- #[ rustc_const_unstable ( feature = "const_make_ascii" , issue = "130698 " ) ]
2478+ #[ rustc_const_stable ( feature = "const_make_ascii" , since = "CURRENT_RUSTC_VERSION " ) ]
24792479 #[ inline]
2480+ #[ cfg_attr( bootstrap, rustc_allow_const_fn_unstable( const_mut_refs) ) ]
24802481 pub const fn make_ascii_uppercase ( & mut self ) {
24812482 // SAFETY: changing ASCII letters only does not invalidate UTF-8.
24822483 let me = unsafe { self . as_bytes_mut ( ) } ;
@@ -2503,8 +2504,9 @@ impl str {
25032504 /// assert_eq!("grÜße, jÜrgen ❤", s);
25042505 /// ```
25052506 #[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
2506- #[ rustc_const_unstable ( feature = "const_make_ascii" , issue = "130698 " ) ]
2507+ #[ rustc_const_stable ( feature = "const_make_ascii" , since = "CURRENT_RUSTC_VERSION " ) ]
25072508 #[ inline]
2509+ #[ cfg_attr( bootstrap, rustc_allow_const_fn_unstable( const_mut_refs) ) ]
25082510 pub const fn make_ascii_lowercase ( & mut self ) {
25092511 // SAFETY: changing ASCII letters only does not invalidate UTF-8.
25102512 let me = unsafe { self . as_bytes_mut ( ) } ;
0 commit comments