1 error[E0220]: associated type `Assoc` not found for `V`
2 --> $DIR/issue-96287.rs:7:33
4 LL | pub type Foo<V> = impl Trait<V::Assoc>;
5 | ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc`
7 error[E0220]: associated type `Assoc` not found for `V`
8 --> $DIR/issue-96287.rs:7:33
10 LL | pub type Foo<V> = impl Trait<V::Assoc>;
11 | ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0220`.