fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: can't compare `Comparable` with `Comparable` 2 --> $DIR/issue-34229.rs:2:46 3 | 4LL | #[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) 11help: consider annotating `Comparable` with `#[derive(PartialOrd)]` 12 | 13LL | #[derive(PartialEq)] #[derive(PartialOrd)] 14 | +++++++++++++++++++++ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0277`.