]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-34229.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-34229.stderr
1 error[E0277]: can't compare `Comparable` with `Comparable`
2 --> $DIR/issue-34229.rs:2:46
3 |
4 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
5 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
6 |
7 = help: the trait `PartialOrd` is not implemented for `Comparable`
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
11 error[E0277]: can't compare `Comparable` with `Comparable`
12 --> $DIR/issue-34229.rs:2:46
13 |
14 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
15 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
16 |
17 = help: the trait `PartialOrd` is not implemented for `Comparable`
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
21 error[E0277]: can't compare `Comparable` with `Comparable`
22 --> $DIR/issue-34229.rs:2:46
23 |
24 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
25 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
26 |
27 = help: the trait `PartialOrd` is not implemented for `Comparable`
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
31 error[E0277]: can't compare `Comparable` with `Comparable`
32 --> $DIR/issue-34229.rs:2:46
33 |
34 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
35 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
36 |
37 = help: the trait `PartialOrd` is not implemented for `Comparable`
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
41 error[E0277]: can't compare `Comparable` with `Comparable`
42 --> $DIR/issue-34229.rs:2:46
43 |
44 LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
45 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`
46 |
47 = help: the trait `PartialOrd` is not implemented for `Comparable`
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
51 error: aborting due to 5 previous errors
52
53 For more information about this error, try `rustc --explain E0277`.