3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
5 #![cfg_attr(min, feature(min_const_generics))]
7 struct S<const X: u32>;
8 struct T<const X: bool>;
12 //~^ ERROR expressions must be enclosed in braces to be used as const generic arguments
13 //~| ERROR comparison operators cannot be chained
18 //~^ ERROR comparison operators cannot be chained
23 //~^ ERROR expected expression, found `;`
29 //~^ ERROR comparison operators cannot be chained