]> git.proxmox.com Git - rustc.git/blob - src/test/ui/wf/wf-complex-assoc-type.stderr
New upstream version 1.55.0+dfsg1
[rustc.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`.