]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: the trait bound `Error: Eq` is not satisfied |
ba9703b0 | 2 | --> $DIR/derives-span-Eq-enum.rs:9:6 |
b7449926 | 3 | | |
136023e0 XL |
4 | LL | #[derive(Eq,PartialEq)] |
5 | | -- in this derive macro expansion | |
6 | ... | |
532ac7d7 | 7 | LL | Error |
1b1a35ee | 8 | | ^^^^^ the trait `Eq` is not implemented for `Error` |
ba9703b0 | 9 | | |
94222f64 XL |
10 | note: required by a bound in `AssertParamIsEq` |
11 | --> $SRC_DIR/core/src/cmp.rs:LL:COL | |
17df50a5 | 12 | = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) |
04454e1e FG |
13 | help: consider annotating `Error` with `#[derive(Eq)]` |
14 | | | |
353b0b11 FG |
15 | LL + #[derive(Eq)] |
16 | LL | struct Error; | |
04454e1e | 17 | | |
b7449926 XL |
18 | |
19 | error: aborting due to previous error | |
20 | ||
21 | For more information about this error, try `rustc --explain E0277`. |