about summary refs log tree commit diff
path: root/tests/ui/impl-trait/stranded-opaque.stderr
blob: 75f5480bc8b817af1c9dabfd1409867113568ddc (plain)
1
2
3
4
5
6
7
8
9
error[E0220]: associated type `Assoc` not found for `Trait`
  --> $DIR/stranded-opaque.rs:8:31
   |
LL | fn produce<T>() -> impl Trait<Assoc = impl Trait> {
   |                               ^^^^^ associated type `Assoc` not found

error: aborting due to 1 previous error

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