mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
21 lines
666 B
Plaintext
21 lines
666 B
Plaintext
error[E0277]: the trait bound `MyCall: Callback` is not satisfied
|
|
--> $DIR/issue-75707.rs:15:9
|
|
|
|
|
LL | f::<dyn Processing<Call = MyCall>>();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
--> $DIR/issue-75707.rs:1:1
|
|
|
|
|
LL | pub trait Callback {
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
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`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|