Add a feature gate for basic function pointer use in const fn
This commit is contained in:
parent
1d216fef3e
commit
1ff143191c
7 changed files with 29 additions and 7 deletions
|
@ -239,6 +239,7 @@
|
|||
#![cfg_attr(not(bootstrap), feature(const_fn_floating_point_arithmetic))]
|
||||
#![feature(const_fn_transmute)]
|
||||
#![feature(const_fn)]
|
||||
#![cfg_attr(not(bootstrap), feature(const_fn_fn_ptr_basics))]
|
||||
#![feature(const_ip)]
|
||||
#![feature(const_ipv6)]
|
||||
#![feature(const_raw_ptr_deref)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue