1 error[E0277]: can't compare `Error` with `Error`
2 --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
5 | ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
7 = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
8 = note: required by `std::cmp::PartialOrd::partial_cmp`
9 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
11 error[E0277]: can't compare `Error` with `Error`
12 --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
15 | ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
17 = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
18 = note: required by `std::cmp::PartialOrd::partial_cmp`
19 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
21 error[E0277]: can't compare `Error` with `Error`
22 --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
25 | ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
27 = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
28 = note: required by `std::cmp::PartialOrd::partial_cmp`
29 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
31 error[E0277]: can't compare `Error` with `Error`
32 --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
35 | ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
37 = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
38 = note: required by `std::cmp::PartialOrd::partial_cmp`
39 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
41 error[E0277]: can't compare `Error` with `Error`
42 --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
45 | ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
47 = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
48 = note: required by `std::cmp::PartialOrd::partial_cmp`
49 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
51 error: aborting due to 5 previous errors
53 For more information about this error, try `rustc --explain E0277`.