1 error[E0277]: can't compare `Comparable` with `Comparable`
2 --> $DIR/issue-34229.rs:2:46
4 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
5 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
7 = help: the trait `PartialOrd` is not implemented for `Comparable`
8 = note: required by `std::cmp::PartialOrd::partial_cmp`
9 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
11 error[E0277]: can't compare `Comparable` with `Comparable`
12 --> $DIR/issue-34229.rs:2:46
14 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
15 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
17 = help: the trait `PartialOrd` is not implemented for `Comparable`
18 = note: required by `std::cmp::PartialOrd::partial_cmp`
19 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
21 error[E0277]: can't compare `Comparable` with `Comparable`
22 --> $DIR/issue-34229.rs:2:46
24 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
25 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
27 = help: the trait `PartialOrd` is not implemented for `Comparable`
28 = note: required by `std::cmp::PartialOrd::partial_cmp`
29 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
31 error[E0277]: can't compare `Comparable` with `Comparable`
32 --> $DIR/issue-34229.rs:2:46
34 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
35 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
37 = help: the trait `PartialOrd` is not implemented for `Comparable`
38 = note: required by `std::cmp::PartialOrd::partial_cmp`
39 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
41 error[E0277]: can't compare `Comparable` with `Comparable`
42 --> $DIR/issue-34229.rs:2:46
44 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
45 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
47 = help: the trait `PartialOrd` is not implemented for `Comparable`
48 = note: required by `std::cmp::PartialOrd::partial_cmp`
49 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
51 error: aborting due to 5 previous errors
53 For more information about this error, try `rustc --explain E0277`.