]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsized/issue-75707.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / unsized / issue-75707.stderr
1 error[E0277]: the trait bound `MyCall: Callback` is not satisfied
2   --> $DIR/issue-75707.rs:15:5
3    |
4 LL |     f::<dyn Processing<Call = MyCall>>();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
6    |
7 note: required by a bound in `f`
8   --> $DIR/issue-75707.rs:9:9
9    |
10 LL | fn f<P: Processing + ?Sized>() {
11    |         ^^^^^^^^^^ required by this bound in `f`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.