fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
688 B13 linesraw
1error[E0277]: the trait bound `dyn Foo<(char,), Output = ()>: Eq<dyn Foo<(), Output = ()>>` is not satisfied
2  --> $DIR/unboxed-closure-sugar-equiv.rs:43:5
3   |
4LL |   fn eq<A: ?Sized,B: ?Sized +Eq<A>>() { }
5   |                              ----- required by this bound in `eq`
6...
7LL | /     eq::< dyn Foo<(),Output=()>,
8LL | |           dyn Foo(char)                                               >();
9   | |_______________________________________________________________________^ the trait `Eq<dyn Foo<(), Output = ()>>` is not implemented for `dyn Foo<(char,), Output = ()>`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0277`.