fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: binary operation `==` cannot be applied to type `Error` 2 --> $DIR/derives-span-PartialEq-tuple-struct.rs:8:5 3 | 4LL | #[derive(PartialEq)] 5 | --------- in this derive macro expansion 6LL | struct Struct( 7LL | Error 8 | ^^^^^ 9 | 10note: an implementation of `PartialEq` might be missing for `Error` 11 --> $DIR/derives-span-PartialEq-tuple-struct.rs:4:1 12 | 13LL | struct Error; 14 | ^^^^^^^^^^^^ must implement `PartialEq` 15 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) 16help: consider annotating `Error` with `#[derive(PartialEq)]` 17 | 18LL + #[derive(PartialEq)] 19LL | struct Error; 20 | 21 22error: aborting due to previous error 23 24For more information about this error, try `rustc --explain E0369`.