File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 83
83
#![ feature( const_fn_union) ]
84
84
#![ feature( const_fn) ]
85
85
#![ cfg_attr( not( bootstrap) , feature( const_fn_floating_point_arithmetic) ) ]
86
+ #![ cfg_attr( not( bootstrap) , feature( const_fn_fn_ptr_basics) ) ]
86
87
#![ feature( const_generics) ]
87
88
#![ feature( const_option) ]
88
89
#![ feature( const_precise_live_drops) ]
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ impl RawWakerVTable {
136
136
// (see https://github.com/rust-rfcs/const-eval/issues/19#issuecomment-472799062)
137
137
#[ rustc_allow_const_fn_ptr]
138
138
#[ rustc_const_stable( feature = "futures_api" , since = "1.36.0" ) ]
139
+ #[ cfg_attr( not( bootstrap) , allow_internal_unstable( const_fn_fn_ptr_basics) ) ]
139
140
pub const fn new (
140
141
clone : unsafe fn ( * const ( ) ) -> RawWaker ,
141
142
wake : unsafe fn ( * const ( ) ) ,
Original file line number Diff line number Diff line change 21
21
#![ feature( nll) ]
22
22
#![ feature( staged_api) ]
23
23
#![ feature( const_fn) ]
24
+ #![ cfg_attr( not( bootstrap) , feature( const_fn_fn_ptr_basics) ) ]
24
25
#![ feature( allow_internal_unstable) ]
25
26
#![ feature( decl_macro) ]
26
27
#![ feature( extern_types) ]
Original file line number Diff line number Diff line change 239
239
#![ cfg_attr( not( bootstrap) , feature( const_fn_floating_point_arithmetic) ) ]
240
240
#![ feature( const_fn_transmute) ]
241
241
#![ feature( const_fn) ]
242
+ #![ cfg_attr( not( bootstrap) , feature( const_fn_fn_ptr_basics) ) ]
242
243
#![ feature( const_ip) ]
243
244
#![ feature( const_ipv6) ]
244
245
#![ feature( const_raw_ptr_deref) ]
You can’t perform that action at this time.
0 commit comments