1 error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
2 --> $DIR/derives-span-Eq-struct.rs:8:5
5 | ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`
7 ::: $SRC_DIR/libcore/cmp.rs:LL:COL
9 LL | pub struct AssertParamIsEq<T: Eq + ?Sized> {
10 | -- required by this bound in `std::cmp::AssertParamIsEq`
12 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.