3 #![cfg_attr(full, feature(adt_const_params))]
4 #![cfg_attr(full, allow(incomplete_features))]
6 struct Foo<const V: [usize; 0] > {}
7 //[min]~^ ERROR `[usize; 0]` is forbidden as the type of a const generic parameter
9 type MyFoo = Foo<{ [] }>;
12 let _ = Foo::<{ [] }> {};