1 2 3 4 5 6 7 8 9 10
trait Foo { type Assoc<'a, const N: usize>; } fn foo<T: Foo>() { let _: <T as Foo>::Assoc<3>; //~^ ERROR associated type } fn main() {}