rust/tests/ui/unsized/issue-75707.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
518 B
Plaintext
Raw Normal View History

2020-10-14 18:36:16 -05:00
error[E0277]: the trait bound `MyCall: Callback` is not satisfied
2022-08-16 01:27:22 -05:00
--> $DIR/issue-75707.rs:15:9
2020-10-14 18:36:16 -05:00
|
LL | f::<dyn Processing<Call = MyCall>>();
2022-08-16 01:27:22 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
|
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 18:36:16 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.