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 cannot constrain an associated constant to a value
12 //~^^^ERROR this trait takes 1 generic argument but 0 generic arguments
13 //~^^^^ERROR associated type bindings are not allowed here
14 fn do_x(&self) -> [u8; 3] {