blob: 8dd32ee7f104aafa9e4b578667f16909acd2e606 [file] [log] [blame]
error[E0277]: the trait bound `dyn Foo<(char,), Output = ()>: Eq<dyn Foo<(), Output = ()>>` is not satisfied
--> $DIR/unboxed-closure-sugar-equiv.rs:43:5
|
LL | fn eq<A: ?Sized,B: ?Sized +Eq<A>>() { }
| -- ----- required by this bound in `eq`
...
LL | / eq::< dyn Foo<(),Output=()>,
LL | | dyn Foo(char) >();
| |_______________________________________________________________________^ the trait `Eq<dyn Foo<(), Output = ()>>` is not implemented for `dyn Foo<(char,), Output = ()>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.