]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0277]: the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied |
0731742a | 2 | --> $DIR/union-derive-eq.rs:15:5 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | a: PartialEqNotEq, |
ff7c6d11 | 5 | | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `PartialEqNotEq` |
ba9703b0 XL |
6 | | |
7 | ::: $SRC_DIR/libcore/cmp.rs:LL:COL | |
8 | | | |
9 | LL | pub struct AssertParamIsEq<T: Eq + ?Sized> { | |
10 | | -- required by this bound in `std::cmp::AssertParamIsEq` | |
ff7c6d11 | 11 | | |
74b04a01 | 12 | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) |
ff7c6d11 XL |
13 | |
14 | error: aborting due to previous error | |
15 | ||
0531ce1d | 16 | For more information about this error, try `rustc --explain E0277`. |