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

@@ -83,6 +83,7 @@
#![feature(const_fn_union)]
#![feature(const_fn)]
#![cfg_attr(not(bootstrap), feature(const_fn_floating_point_arithmetic))]
#![cfg_attr(not(bootstrap), feature(const_fn_fn_ptr_basics))]
#![feature(const_generics)]
#![feature(const_option)]
#![feature(const_precise_live_drops)]