about summary refs log tree commit diff
path: root/tests/ui/impl-trait/stranded-opaque.stderr
blob: 5bea3e2af6b30506008df594917004065ebf9b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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[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
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors

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