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