1 #![feature(const_generics)]
2 //~^ WARN the feature `const_generics` is incomplete
4 fn foo<const X: usize, const Y: usize>() -> usize {
9 foo::<0>(); //~ ERROR wrong number of const arguments: expected 2, found 1
10 foo::<0, 0, 0>(); //~ ERROR wrong number of const arguments: expected 2, found 3