File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 114
114
#![ feature( const_maybe_uninit_write) ]
115
115
#![ feature( const_option) ]
116
116
#![ feature( const_pin) ]
117
- #![ feature( const_refs_to_cell) ]
118
117
#![ feature( const_size_of_val) ]
119
118
#![ feature( core_intrinsics) ]
120
119
#![ feature( deprecated_suggestion) ]
165
164
// Language features:
166
165
// tidy-alphabetical-start
167
166
#![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
167
+ #![ cfg_attr( bootstrap, feature( const_refs_to_cell) ) ]
168
168
#![ cfg_attr( not( test) , feature( coroutine_trait) ) ]
169
169
#![ cfg_attr( test, feature( panic_update_hook) ) ]
170
170
#![ cfg_attr( test, feature( test) ) ]
Original file line number Diff line number Diff line change 192
192
// Language features:
193
193
// tidy-alphabetical-start
194
194
#![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
195
+ #![ cfg_attr( bootstrap, feature( const_refs_to_cell) ) ]
195
196
#![ feature( abi_unadjusted) ]
196
197
#![ feature( adt_const_params) ]
197
198
#![ feature( allow_internal_unsafe) ]
203
204
#![ feature( cfg_ub_checks) ]
204
205
#![ feature( const_for) ]
205
206
#![ feature( const_precise_live_drops) ]
206
- #![ feature( const_refs_to_cell) ]
207
207
#![ feature( decl_macro) ]
208
208
#![ feature( deprecated_suggestion) ]
209
209
#![ feature( doc_cfg) ]
Original file line number Diff line number Diff line change @@ -846,7 +846,7 @@ impl<T> [T] {
846
846
/// [`as_mut_ptr`]: slice::as_mut_ptr
847
847
#[ stable( feature = "slice_ptr_range" , since = "1.48.0" ) ]
848
848
#[ rustc_const_stable( feature = "const_ptr_offset" , since = "1.61.0" ) ]
849
- #[ rustc_allow_const_fn_unstable( const_mut_refs, const_refs_to_cell) ]
849
+ #[ cfg_attr ( bootstrap , rustc_allow_const_fn_unstable( const_mut_refs, const_refs_to_cell) ) ]
850
850
#[ inline]
851
851
#[ must_use]
852
852
pub const fn as_mut_ptr_range ( & mut self ) -> Range < * mut T > {
You can’t perform that action at this time.
0 commit comments