1 trait Foo<const N: usize> {
2 fn do_x(&self) -> [u8; N];
9 impl Foo<N = const 3> for Bar {
10 //~^ ERROR expected lifetime, type, or constant, found keyword `const`
11 //~| ERROR this trait takes 1 generic
12 //~| ERROR associated type bindings are not allowed here
13 //~| ERROR associated const equality is incomplete
14 fn do_x(&self) -> [u8; 3] {