// revisions: full min #![cfg_attr(full, feature(const_generics))] #![cfg_attr(full, allow(incomplete_features))] fn foo() {} //~^ ERROR the type of const parameters must not //[min]~| ERROR `[u8; _]` is forbidden as the type of a const generic parameter fn main() { foo::<_, {[1]}>(); //[full]~^ ERROR type provided when a constant was expected //[full]~| ERROR mismatched types }