fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
2.3 KiB53 linesraw
1error[E0277]: can't compare `Error` with `Error`
2  --> $DIR/derives-span-PartialOrd-enum.rs:9:6
3   |
4LL |      Error
5   |      ^^^^^ no implementation for `Error < Error` and `Error > Error`
6   |
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)
10
11error[E0277]: can't compare `Error` with `Error`
12  --> $DIR/derives-span-PartialOrd-enum.rs:9:6
13   |
14LL |      Error
15   |      ^^^^^ no implementation for `Error < Error` and `Error > Error`
16   |
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)
20
21error[E0277]: can't compare `Error` with `Error`
22  --> $DIR/derives-span-PartialOrd-enum.rs:9:6
23   |
24LL |      Error
25   |      ^^^^^ no implementation for `Error < Error` and `Error > Error`
26   |
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)
30
31error[E0277]: can't compare `Error` with `Error`
32  --> $DIR/derives-span-PartialOrd-enum.rs:9:6
33   |
34LL |      Error
35   |      ^^^^^ no implementation for `Error < Error` and `Error > Error`
36   |
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)
40
41error[E0277]: can't compare `Error` with `Error`
42  --> $DIR/derives-span-PartialOrd-enum.rs:9:6
43   |
44LL |      Error
45   |      ^^^^^ no implementation for `Error < Error` and `Error > Error`
46   |
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)
50
51error: aborting due to 5 previous errors
52
53For more information about this error, try `rustc --explain E0277`.