rust/tests/ui/coherence/indirect-impl-for-trait-obj-coherence.next.stderr
2024-06-12 19:03:37 -04:00

10 lines
443 B
Plaintext

error[E0284]: type annotations needed: cannot normalize `<dyn Object<U, Output = T> as Object<U>>::Output`
--> $DIR/indirect-impl-for-trait-obj-coherence.rs:25:41
|
LL | foo::<dyn Object<U, Output = T>, U>(x)
| ^ cannot normalize `<dyn Object<U, Output = T> as Object<U>>::Output`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0284`.