fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: can't compare `Error` with `Error` 2 --> $DIR/derives-span-PartialOrd-tuple-struct.rs:8:5 3 | 4LL | #[derive(PartialOrd,PartialEq)] 5 | ---------- in this derive macro expansion 6LL | struct Struct( 7LL | Error 8 | ^^^^^ no implementation for `Error < Error` and `Error > Error` 9 | 10 = help: the trait `PartialOrd` is not implemented for `Error` 11 = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) 12help: consider annotating `Error` with `#[derive(PartialOrd)]` 13 | 14LL + #[derive(PartialOrd)] 15LL | struct Error; 16 | 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0277`.