blob: 83754bd36ef2a21332cad35de158b07f717711ec [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 `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`.