2020-10-14 23:36:16 +00:00
|
|
|
error[E0277]: the trait bound `MyCall: Callback` is not satisfied
|
2022-08-16 06:27:22 +00:00
|
|
|
--> $DIR/issue-75707.rs:15:9
|
2020-10-14 23:36:16 +00:00
|
|
|
|
|
|
|
|
LL | f::<dyn Processing<Call = MyCall>>();
|
2022-08-16 06:27:22 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
|
2021-07-31 16:26:55 +00:00
|
|
|
|
|
2023-09-10 03:33:07 +00:00
|
|
|
help: this trait has no implementations, consider adding one
|
|
|
|
--> $DIR/issue-75707.rs:1:1
|
|
|
|
|
|
|
|
|
LL | pub trait Callback {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2021-07-31 16:26:55 +00:00
|
|
|
note: required by a bound in `f`
|
|
|
|
--> $DIR/issue-75707.rs:9:9
|
|
|
|
|
|
|
|
|
LL | fn f<P: Processing + ?Sized>() {
|
|
|
|
| ^^^^^^^^^^ required by this bound in `f`
|
2020-10-14 23:36:16 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2020-10-14 23:36:16 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|