]> git.proxmox.com Git - rustc.git/blob - src/test/ui/binop/issue-28837.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / binop / issue-28837.stderr
1 error[E0369]: cannot add `A` to `A`
2 --> $DIR/issue-28837.rs:6:7
3 |
4 LL | a + a;
5 | - ^ - A
6 | |
7 | A
8 |
9 = note: an implementation of `std::ops::Add` might be missing for `A`
10
11 error[E0369]: cannot subtract `A` from `A`
12 --> $DIR/issue-28837.rs:8:7
13 |
14 LL | a - a;
15 | - ^ - A
16 | |
17 | A
18 |
19 = note: an implementation of `std::ops::Sub` might be missing for `A`
20
21 error[E0369]: cannot multiply `A` by `A`
22 --> $DIR/issue-28837.rs:10:7
23 |
24 LL | a * a;
25 | - ^ - A
26 | |
27 | A
28 |
29 = note: an implementation of `std::ops::Mul` might be missing for `A`
30
31 error[E0369]: cannot divide `A` by `A`
32 --> $DIR/issue-28837.rs:12:7
33 |
34 LL | a / a;
35 | - ^ - A
36 | |
37 | A
38 |
39 = note: an implementation of `std::ops::Div` might be missing for `A`
40
41 error[E0369]: cannot mod `A` by `A`
42 --> $DIR/issue-28837.rs:14:7
43 |
44 LL | a % a;
45 | - ^ - A
46 | |
47 | A
48 |
49 = note: an implementation of `std::ops::Rem` might be missing for `A`
50
51 error[E0369]: no implementation for `A & A`
52 --> $DIR/issue-28837.rs:16:7
53 |
54 LL | a & a;
55 | - ^ - A
56 | |
57 | A
58 |
59 = note: an implementation of `std::ops::BitAnd` might be missing for `A`
60
61 error[E0369]: no implementation for `A | A`
62 --> $DIR/issue-28837.rs:18:7
63 |
64 LL | a | a;
65 | - ^ - A
66 | |
67 | A
68 |
69 = note: an implementation of `std::ops::BitOr` might be missing for `A`
70
71 error[E0369]: no implementation for `A << A`
72 --> $DIR/issue-28837.rs:20:7
73 |
74 LL | a << a;
75 | - ^^ - A
76 | |
77 | A
78 |
79 = note: an implementation of `std::ops::Shl` might be missing for `A`
80
81 error[E0369]: no implementation for `A >> A`
82 --> $DIR/issue-28837.rs:22:7
83 |
84 LL | a >> a;
85 | - ^^ - A
86 | |
87 | A
88 |
89 = note: an implementation of `std::ops::Shr` might be missing for `A`
90
91 error[E0369]: binary operation `==` cannot be applied to type `A`
92 --> $DIR/issue-28837.rs:24:7
93 |
94 LL | a == a;
95 | - ^^ - A
96 | |
97 | A
98 |
99 = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
100
101 error[E0369]: binary operation `!=` cannot be applied to type `A`
102 --> $DIR/issue-28837.rs:26:7
103 |
104 LL | a != a;
105 | - ^^ - A
106 | |
107 | A
108 |
109 = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
110
111 error[E0369]: binary operation `<` cannot be applied to type `A`
112 --> $DIR/issue-28837.rs:28:7
113 |
114 LL | a < a;
115 | - ^ - A
116 | |
117 | A
118 |
119 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
120
121 error[E0369]: binary operation `<=` cannot be applied to type `A`
122 --> $DIR/issue-28837.rs:30:7
123 |
124 LL | a <= a;
125 | - ^^ - A
126 | |
127 | A
128 |
129 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
130
131 error[E0369]: binary operation `>` cannot be applied to type `A`
132 --> $DIR/issue-28837.rs:32:7
133 |
134 LL | a > a;
135 | - ^ - A
136 | |
137 | A
138 |
139 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
140
141 error[E0369]: binary operation `>=` cannot be applied to type `A`
142 --> $DIR/issue-28837.rs:34:7
143 |
144 LL | a >= a;
145 | - ^^ - A
146 | |
147 | A
148 |
149 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
150
151 error: aborting due to 15 previous errors
152
153 For more information about this error, try `rustc --explain E0369`.