File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ impl char {
711
711
/// '𝕊'.encode_utf16(&mut b);
712
712
/// ```
713
713
#[ stable( feature = "unicode_encode_char" , since = "1.15.0" ) ]
714
- #[ rustc_const_unstable ( feature = "const_char_encode_utf16" , issue = "130660 " ) ]
714
+ #[ rustc_const_stable ( feature = "const_char_encode_utf16" , since = "CURRENT_RUSTC_VERSION " ) ]
715
715
#[ inline]
716
716
pub const fn encode_utf16 ( self , dst : & mut [ u16 ] ) -> & mut [ u16 ] {
717
717
encode_utf16_raw ( self as u32 , dst)
@@ -1819,7 +1819,7 @@ pub const fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> &mut [u8] {
1819
1819
/// Panics if the buffer is not large enough.
1820
1820
/// A buffer of length 2 is large enough to encode any `char`.
1821
1821
#[ unstable( feature = "char_internals" , reason = "exposed only for libstd" , issue = "none" ) ]
1822
- #[ rustc_const_unstable ( feature = "const_char_encode_utf16" , issue = "130660" ) ]
1822
+ #[ cfg_attr ( bootstrap , rustc_const_stable ( feature = "const_char_encode_utf16" , since = "CURRENT_RUSTC_VERSION" ) ) ]
1823
1823
#[ doc( hidden) ]
1824
1824
#[ inline]
1825
1825
pub const fn encode_utf16_raw ( mut code : u32 , dst : & mut [ u16 ] ) -> & mut [ u16 ] {
Original file line number Diff line number Diff line change 114
114
#![ feature( const_align_of_val_raw) ]
115
115
#![ feature( const_alloc_layout) ]
116
116
#![ feature( const_black_box) ]
117
- #![ feature( const_char_encode_utf16) ]
118
117
#![ feature( const_eval_select) ]
119
118
#![ feature( const_exact_div) ]
120
119
#![ feature( const_float_methods) ]
You can’t perform that action at this time.
0 commit comments