1 error[E0277]: the trait bound `T: MyDisplay` is not satisfied
2 --> $DIR/issue-65774-2.rs:10:5
4 LL | type MpuConfig: MyDisplay = T;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `MyDisplay` is not implemented for `T`
7 note: required by a bound in `MPU::MpuConfig`
8 --> $DIR/issue-65774-2.rs:10:21
10 LL | type MpuConfig: MyDisplay = T;
11 | ^^^^^^^^^ required by this bound in `MPU::MpuConfig`
13 error[E0277]: the trait bound `T: MyDisplay` is not satisfied
14 --> $DIR/issue-65774-2.rs:39:25
16 LL | writer.my_write(valref)
17 | ^^^^^^ the trait `MyDisplay` is not implemented for `T`
19 = note: required for the cast to the object type `dyn MyDisplay`
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0277`.