fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.8 KiB48 linesraw
1error[E0277]: can't compare `Error` with `Error`
2  --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
3   |
4LL |      x: 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
10error[E0277]: can't compare `Error` with `Error`
11  --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
12   |
13LL |      x: Error
14   |      ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
15   |
16   = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
17   = note: required by `std::cmp::PartialOrd::partial_cmp`
18
19error[E0277]: can't compare `Error` with `Error`
20  --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
21   |
22LL |      x: Error
23   |      ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
24   |
25   = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
26   = note: required by `std::cmp::PartialOrd::partial_cmp`
27
28error[E0277]: can't compare `Error` with `Error`
29  --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
30   |
31LL |      x: Error
32   |      ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
33   |
34   = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
35   = note: required by `std::cmp::PartialOrd::partial_cmp`
36
37error[E0277]: can't compare `Error` with `Error`
38  --> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
39   |
40LL |      x: Error
41   |      ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`
42   |
43   = help: the trait `std::cmp::PartialOrd` is not implemented for `Error`
44   = note: required by `std::cmp::PartialOrd::partial_cmp`
45
46error: aborting due to 5 previous errors
47
48For more information about this error, try `rustc --explain E0277`.