File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 164164//
165165// Language features:
166166// tidy-alphabetical-start
167+ #![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
167168#![ cfg_attr( not( test) , feature( coroutine_trait) ) ]
168169#![ cfg_attr( test, feature( panic_update_hook) ) ]
169170#![ cfg_attr( test, feature( test) ) ]
170171#![ feature( allocator_internals) ]
171172#![ feature( allow_internal_unstable) ]
172173#![ feature( cfg_sanitize) ]
173- #![ feature( const_mut_refs) ]
174174#![ feature( const_precise_live_drops) ]
175175#![ feature( const_ptr_write) ]
176176#![ feature( const_try) ]
Original file line number Diff line number Diff line change 66#![ feature( cow_is_borrowed) ]
77#![ feature( const_cow_is_borrowed) ]
88#![ feature( const_heap) ]
9- #![ feature( const_mut_refs) ]
9+ #![ cfg_attr ( bootstrap , feature( const_mut_refs) ) ]
1010#![ feature( const_slice_from_raw_parts_mut) ]
1111#![ feature( const_ptr_write) ]
1212#![ feature( const_try) ]
Original file line number Diff line number Diff line change 191191//
192192// Language features:
193193// tidy-alphabetical-start
194+ #![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
194195#![ feature( abi_unadjusted) ]
195196#![ feature( adt_const_params) ]
196197#![ feature( allow_internal_unsafe) ]
201202#![ feature( cfg_target_has_atomic_equal_alignment) ]
202203#![ feature( cfg_ub_checks) ]
203204#![ feature( const_for) ]
204- #![ feature( const_mut_refs) ]
205205#![ feature( const_precise_live_drops) ]
206206#![ feature( const_refs_to_cell) ]
207207#![ feature( decl_macro) ]
Original file line number Diff line number Diff line change @@ -1569,7 +1569,7 @@ impl<T: ?Sized> *mut T {
15691569 ///
15701570 /// ```
15711571 /// #![feature(const_pointer_is_aligned)]
1572- /// #![ feature(const_mut_refs)]
1572+ /// # #![cfg_attr(bootstrap, feature(const_mut_refs) )]
15731573 ///
15741574 /// // On some platforms, the alignment of primitives is less than their size.
15751575 /// #[repr(align(4))]
@@ -1695,7 +1695,7 @@ impl<T: ?Sized> *mut T {
16951695 /// ```
16961696 /// #![feature(pointer_is_aligned_to)]
16971697 /// #![feature(const_pointer_is_aligned)]
1698- /// #![ feature(const_mut_refs)]
1698+ /// # #![cfg_attr(bootstrap, feature(const_mut_refs) )]
16991699 ///
17001700 /// // On some platforms, the alignment of i32 is less than 4.
17011701 /// #[repr(align(4))]
Original file line number Diff line number Diff line change 11// tidy-alphabetical-start
2+ #![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
23#![ cfg_attr( target_has_atomic = "128" , feature( integer_atomics) ) ]
34#![ cfg_attr( test, feature( cfg_match) ) ]
45#![ feature( alloc_layout_extra) ]
2627#![ feature( const_ipv6) ]
2728#![ feature( const_likely) ]
2829#![ feature( const_maybe_uninit_as_mut_ptr) ]
29- #![ feature( const_mut_refs) ]
3030#![ feature( const_nonnull_new) ]
3131#![ feature( const_option) ]
3232#![ feature( const_option_ext) ]
Original file line number Diff line number Diff line change 272272//
273273// Language features:
274274// tidy-alphabetical-start
275+ #![ cfg_attr( bootstrap, feature( const_mut_refs) ) ]
275276#![ feature( alloc_error_handler) ]
276277#![ feature( allocator_internals) ]
277278#![ feature( allow_internal_unsafe) ]
281282#![ feature( cfg_target_thread_local) ]
282283#![ feature( cfi_encoding) ]
283284#![ feature( concat_idents) ]
284- #![ feature( const_mut_refs) ]
285285#![ feature( decl_macro) ]
286286#![ feature( deprecated_suggestion) ]
287287#![ feature( doc_cfg) ]
You can’t perform that action at this time.
0 commit comments