summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/not_well_formed.stderr
blob: c36b95f47e837532991bff0f56450ed0165fb463 (plain)
1
2
3
4
5
6
7
8
9
error[E0220]: associated type `Assoc` not found for `V`
  --> $DIR/not_well_formed.rs:9:29
   |
LL | type Foo<V> = impl Trait<V::Assoc>;
   |                             ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0220`.