1 error[E0277]: the trait bound `bool: MyTrait` is not satisfied
2 --> $DIR/wf-complex-assoc-type.rs:9:28
4 LL | type MyItem = Option<((AssertMyTrait<bool>, u8))>;
5 | ^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `bool`
7 note: required by a bound in `AssertMyTrait`
8 --> $DIR/wf-complex-assoc-type.rs:2:25
10 LL | struct AssertMyTrait<T: MyTrait>(T);
11 | ^^^^^^^ required by this bound in `AssertMyTrait`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.