]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wf/wf-complex-assoc-type.stderr
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / test / ui / wf / wf-complex-assoc-type.stderr
1 error[E0277]: the trait bound `bool: MyTrait` is not satisfied
2   --> $DIR/wf-complex-assoc-type.rs:9:28
3    |
4 LL | struct AssertMyTrait<T: MyTrait>(T);
5    |                         ------- required by this bound in `AssertMyTrait`
6 ...
7 LL |     type MyItem = Option<((AssertMyTrait<bool>, u8))>;
8    |                            ^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `bool`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.