1 #![feature(const_trait_impl)]
7 fn b() where Self: ~const Bar;
11 const fn test1<T: ~const Foo + Bar>() {
14 //~^ ERROR the trait bound
16 //~^ ERROR the trait bound
19 const fn test2<T: ~const Foo + ~const Bar>() {
28 //~^ ERROR the trait bound
30 //~^ ERROR the trait bound
33 fn test4<T: Foo + Bar>() {