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