1
Fork 0

Add a feature gate for basic function pointer use in const fn

This commit is contained in:
Dylan MacKenzie 2020-09-24 16:17:03 -07:00
parent 1d216fef3e
commit 1ff143191c
7 changed files with 29 additions and 7 deletions

View file

@ -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)]