about summary refs log tree commit diff
path: root/tests/ui/unsized/issue-75707.stderr
blob: 7bdb65500a9fcf8e803a5a75c9e8b3d7d1b90a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0277]: the trait bound `MyCall: Callback` is not satisfied
  --> $DIR/issue-75707.rs:15:9
   |
LL |     f::<dyn Processing<Call = MyCall>>();
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
   |
help: the trait `Callback` is not implemented for `MyCall`
  --> $DIR/issue-75707.rs:14:5
   |
LL |     struct 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`.