]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-34229.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-34229.stderr
1 error[E0277]: can't compare `Comparable` with `Comparable`
2 --> $DIR/issue-34229.rs:2:46
3 |
4 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
5 | ---------- ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
6 | |
7 | in this derive macro expansion
8 |
9 = help: the trait `PartialOrd` is not implemented for `Comparable`
10 = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.