File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 128
128
#![ feature( trusted_len) ]
129
129
#![ feature( unboxed_closures) ]
130
130
#![ feature( unicode_internals) ]
131
- #![ feature( unsafe_block_in_unsafe_fn) ]
131
+ #![ cfg_attr ( bootstrap , feature( unsafe_block_in_unsafe_fn) ) ]
132
132
#![ feature( unsize) ]
133
133
#![ feature( unsized_fn_params) ]
134
134
#![ feature( allocator_internals) ]
Original file line number Diff line number Diff line change 162
162
#![ feature( const_caller_location) ]
163
163
#![ feature( slice_ptr_get) ]
164
164
#![ feature( no_niche) ] // rust-lang/rust#68303
165
- #![ feature( unsafe_block_in_unsafe_fn) ]
166
165
#![ feature( int_error_matching) ]
166
+ #![ cfg_attr( bootstrap, feature( unsafe_block_in_unsafe_fn) ) ]
167
167
#![ deny( unsafe_op_in_unsafe_fn) ]
168
168
169
169
#[ prelude_import]
Original file line number Diff line number Diff line change 71
71
#![ feature( peekable_peek_mut) ]
72
72
#![ cfg_attr( not( bootstrap) , feature( ptr_metadata) ) ]
73
73
#![ feature( once_cell) ]
74
- #![ feature( unsafe_block_in_unsafe_fn) ]
75
74
#![ feature( unsized_tuple_coercion) ]
76
75
#![ feature( int_bits_const) ]
77
76
#![ feature( nonzero_leading_trailing_zeros) ]
78
77
#![ feature( const_option) ]
79
78
#![ feature( integer_atomics) ]
80
79
#![ feature( slice_group_by) ]
81
80
#![ feature( trusted_random_access) ]
82
- #![ deny ( unsafe_op_in_unsafe_fn ) ]
81
+ #![ cfg_attr ( bootstrap , feature ( unsafe_block_in_unsafe_fn ) ) ]
83
82
#![ cfg_attr( not( bootstrap) , feature( unsize) ) ]
83
+ #![ deny( unsafe_op_in_unsafe_fn) ]
84
84
85
85
extern crate test;
86
86
Original file line number Diff line number Diff line change 324
324
#![ feature( try_blocks) ]
325
325
#![ feature( try_reserve) ]
326
326
#![ feature( unboxed_closures) ]
327
- #![ feature( unsafe_block_in_unsafe_fn) ]
327
+ #![ cfg_attr ( bootstrap , feature( unsafe_block_in_unsafe_fn) ) ]
328
328
#![ feature( unsafe_cell_raw_get) ]
329
329
#![ feature( unwind_attributes) ]
330
330
#![ feature( vec_into_raw_parts) ]
You can’t perform that action at this time.
0 commit comments