2024-03-13 12:44:00 -05:00
|
|
|
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
|
|
|
|
|
2024-03-20 11:52:54 -05:00
|
|
|
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
|
2024-03-13 12:44:00 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0220`.
|