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

@ -1,8 +1,8 @@
// check-pass
#![feature(const_fn)]
#![feature(const_trait_impl)]
#![feature(const_trait_bound_opt_out)]
#![feature(const_fn_trait_bound)]
#![allow(incomplete_features)]
struct S;