3 #![cfg_attr(full, allow(incomplete_features))]
4 #![cfg_attr(full, feature(const_generics))]
7 //~^ ERROR parameter `T` is never used
8 inner: [(); { [|_: &T| {}; 0].len() }],
9 //[min]~^ ERROR generic parameters may not be used in const operations
10 //[full]~^^ WARN cannot use constants which depend on generic parameters in types
11 //[full]~^^^ WARN this was previously accepted by the compiler