1 error[E0277]: the trait bound `Error: std::cmp::Ord` is not satisfied
2 --> $DIR/derives-span-Ord-enum-struct-variant.rs:9:6
5 | ^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`
7 = note: required by `std::cmp::Ord::cmp`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0277`.