3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
5 #![cfg_attr(min, feature(min_const_generics))]
7 fn foo<const X: usize, const Y: usize>() -> usize {
12 foo::<0>(); //~ ERROR wrong number of const arguments: expected 2, found 1
13 foo::<0, 0, 0>(); //~ ERROR wrong number of const arguments: expected 2, found 3