]> git.lizzy.rs Git - rust.git/blob - tests/ui/wf/wf-complex-assoc-type.stderr
Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyup
[rust.git] / tests / 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 |     type MyItem = Option<((AssertMyTrait<bool>, u8))>;
5    |                            ^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `bool`
6    |
7 note: required by a bound in `AssertMyTrait`
8   --> $DIR/wf-complex-assoc-type.rs:2:25
9    |
10 LL | struct AssertMyTrait<T: MyTrait>(T);
11    |                         ^^^^^^^ required by this bound in `AssertMyTrait`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.