fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
664 B20 linesraw
1error[E0277]: the trait bound `MyCall: Callback` is not satisfied
2  --> $DIR/issue-75707.rs:15:9
3   |
4LL |     f::<dyn Processing<Call = MyCall>>();
5   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
6   |
7help: this trait has no implementations, consider adding one
8  --> $DIR/issue-75707.rs:1:1
9   |
10LL | pub trait Callback {
11   | ^^^^^^^^^^^^^^^^^^
12note: required by a bound in `f`
13  --> $DIR/issue-75707.rs:9:9
14   |
15LL | fn f<P: Processing + ?Sized>() {
16   |         ^^^^^^^^^^ required by this bound in `f`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0277`.