3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
6 fn foo<const X: usize, const Y: usize>() -> usize {
12 //~^ ERROR this function takes 2 const arguments but only 1 const argument was supplied
15 //~^ ERROR this function takes 2 const arguments but 3 const arguments were supplied