]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-65774-2.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / issue-65774-2.stderr
1 error[E0277]: the trait bound `T: MyDisplay` is not satisfied
2   --> $DIR/issue-65774-2.rs:10:5
3    |
4 LL |     type MpuConfig: MyDisplay = T;
5    |     ^^^^^^^^^^^^^^^^---------^^^^^
6    |     |               |
7    |     |               required by this bound in `MPU::MpuConfig`
8    |     the trait `MyDisplay` is not implemented for `T`
9
10 error[E0277]: the trait bound `T: MyDisplay` is not satisfied
11   --> $DIR/issue-65774-2.rs:39:25
12    |
13 LL |         writer.my_write(valref)
14    |                         ^^^^^^ the trait `MyDisplay` is not implemented for `T`
15    |
16    = note: required for the cast to the object type `dyn MyDisplay`
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0277`.