move 'trait bounds on const fn' to separate feature gate

This commit is contained in:
Ralf Jung
2021-04-18 18:36:41 +02:00
parent 6765010495
commit fdad6ab3a3
14 changed files with 44 additions and 31 deletions

View File

@@ -86,6 +86,7 @@
#![feature(const_impl_trait)]
#![feature(const_fn_floating_point_arithmetic)]
#![feature(const_fn_fn_ptr_basics)]
#![cfg_attr(not(bootstrap), feature(const_fn_trait_bound))]
#![feature(const_option)]
#![feature(const_precise_live_drops)]
#![feature(const_ptr_offset)]