blob: 8ce7e825a1ced7e9608757dac681ad090ee051b4 [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`.