3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
5 #![cfg_attr(min, feature(min_const_generics))]
7 struct Foo<const N: [u8; {
8 //~^ ERROR cycle detected
9 //~| ERROR cycle detected
10 //[min]~| ERROR using `[u8; _]` as const generic
11 struct Foo<const N: usize>;
13 impl<const N: usize> Foo<N> {