File tree 3 files changed +1
-3
lines changed
compiler/rustc_codegen_llvm/src
3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
8
8
#![ feature( bool_to_option) ]
9
- #![ feature( const_cstr_unchecked) ]
10
9
#![ feature( crate_visibility_modifier) ]
11
10
#![ feature( extern_types) ]
12
11
#![ feature( in_band_lifetimes) ]
Original file line number Diff line number Diff line change @@ -1259,7 +1259,7 @@ impl CStr {
1259
1259
#[ inline]
1260
1260
#[ must_use]
1261
1261
#[ stable( feature = "cstr_from_bytes" , since = "1.10.0" ) ]
1262
- #[ rustc_const_unstable ( feature = "const_cstr_unchecked" , issue = "90343 " ) ]
1262
+ #[ rustc_const_stable ( feature = "const_cstr_unchecked" , since = "1.59.0 " ) ]
1263
1263
pub const unsafe fn from_bytes_with_nul_unchecked ( bytes : & [ u8 ] ) -> & CStr {
1264
1264
// SAFETY: Casting to CStr is safe because its internal representation
1265
1265
// is a [u8] too (safe only inside std).
Original file line number Diff line number Diff line change 252
252
#![ feature( char_internals) ]
253
253
#![ cfg_attr( not( bootstrap) , feature( concat_bytes) ) ]
254
254
#![ feature( concat_idents) ]
255
- #![ feature( const_cstr_unchecked) ]
256
255
#![ feature( const_fn_floating_point_arithmetic) ]
257
256
#![ feature( const_fn_fn_ptr_basics) ]
258
257
#![ feature( const_fn_trait_bound) ]
You can’t perform that action at this time.
0 commit comments