rust/src/test/ui/union/union-derive-eq.stderr

12 lines
476 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied
--> $DIR/union-derive-eq.rs:25:5
|
2018-02-22 18:42:32 -06:00
LL | a: PartialEqNotEq, //~ ERROR the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied
| ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `PartialEqNotEq`
|
= note: required by `std::cmp::AssertParamIsEq`
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0277`.