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

12 lines
486 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
|
25 | 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-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0277"