]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0369]: cannot add `A` to `A` |
532ac7d7 | 2 | --> $DIR/issue-28837.rs:6:7 |
ff7c6d11 | 3 | | |
532ac7d7 XL |
4 | LL | a + a; |
5 | | - ^ - A | |
6 | | | | |
7 | | A | |
ff7c6d11 XL |
8 | | |
9 | = note: an implementation of `std::ops::Add` might be missing for `A` | |
10 | ||
dfeec247 | 11 | error[E0369]: cannot subtract `A` from `A` |
532ac7d7 | 12 | --> $DIR/issue-28837.rs:8:7 |
ff7c6d11 | 13 | | |
532ac7d7 XL |
14 | LL | a - a; |
15 | | - ^ - A | |
16 | | | | |
17 | | A | |
ff7c6d11 XL |
18 | | |
19 | = note: an implementation of `std::ops::Sub` might be missing for `A` | |
20 | ||
29967ef6 | 21 | error[E0369]: cannot multiply `A` by `A` |
532ac7d7 | 22 | --> $DIR/issue-28837.rs:10:7 |
ff7c6d11 | 23 | | |
532ac7d7 XL |
24 | LL | a * a; |
25 | | - ^ - A | |
26 | | | | |
27 | | A | |
ff7c6d11 XL |
28 | | |
29 | = note: an implementation of `std::ops::Mul` might be missing for `A` | |
30 | ||
dfeec247 | 31 | error[E0369]: cannot divide `A` by `A` |
532ac7d7 | 32 | --> $DIR/issue-28837.rs:12:7 |
ff7c6d11 | 33 | | |
532ac7d7 XL |
34 | LL | a / a; |
35 | | - ^ - A | |
36 | | | | |
37 | | A | |
ff7c6d11 XL |
38 | | |
39 | = note: an implementation of `std::ops::Div` might be missing for `A` | |
40 | ||
dfeec247 | 41 | error[E0369]: cannot mod `A` by `A` |
532ac7d7 | 42 | --> $DIR/issue-28837.rs:14:7 |
ff7c6d11 | 43 | | |
532ac7d7 XL |
44 | LL | a % a; |
45 | | - ^ - A | |
46 | | | | |
47 | | A | |
ff7c6d11 XL |
48 | | |
49 | = note: an implementation of `std::ops::Rem` might be missing for `A` | |
50 | ||
dfeec247 | 51 | error[E0369]: no implementation for `A & A` |
532ac7d7 | 52 | --> $DIR/issue-28837.rs:16:7 |
ff7c6d11 | 53 | | |
532ac7d7 XL |
54 | LL | a & a; |
55 | | - ^ - A | |
56 | | | | |
57 | | A | |
ff7c6d11 XL |
58 | | |
59 | = note: an implementation of `std::ops::BitAnd` might be missing for `A` | |
60 | ||
dfeec247 | 61 | error[E0369]: no implementation for `A | A` |
532ac7d7 | 62 | --> $DIR/issue-28837.rs:18:7 |
ff7c6d11 | 63 | | |
532ac7d7 XL |
64 | LL | a | a; |
65 | | - ^ - A | |
66 | | | | |
67 | | A | |
ff7c6d11 XL |
68 | | |
69 | = note: an implementation of `std::ops::BitOr` might be missing for `A` | |
70 | ||
dfeec247 | 71 | error[E0369]: no implementation for `A << A` |
532ac7d7 | 72 | --> $DIR/issue-28837.rs:20:7 |
ff7c6d11 | 73 | | |
532ac7d7 XL |
74 | LL | a << a; |
75 | | - ^^ - A | |
76 | | | | |
77 | | A | |
ff7c6d11 XL |
78 | | |
79 | = note: an implementation of `std::ops::Shl` might be missing for `A` | |
80 | ||
dfeec247 | 81 | error[E0369]: no implementation for `A >> A` |
532ac7d7 | 82 | --> $DIR/issue-28837.rs:22:7 |
ff7c6d11 | 83 | | |
532ac7d7 XL |
84 | LL | a >> a; |
85 | | - ^^ - A | |
86 | | | | |
87 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 92 | --> $DIR/issue-28837.rs:24:7 |
ff7c6d11 | 93 | | |
532ac7d7 XL |
94 | LL | a == a; |
95 | | - ^^ - A | |
96 | | | | |
97 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 102 | --> $DIR/issue-28837.rs:26:7 |
ff7c6d11 | 103 | | |
532ac7d7 XL |
104 | LL | a != a; |
105 | | - ^^ - A | |
106 | | | | |
107 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 112 | --> $DIR/issue-28837.rs:28:7 |
ff7c6d11 | 113 | | |
532ac7d7 XL |
114 | LL | a < a; |
115 | | - ^ - A | |
116 | | | | |
117 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 122 | --> $DIR/issue-28837.rs:30:7 |
ff7c6d11 | 123 | | |
532ac7d7 XL |
124 | LL | a <= a; |
125 | | - ^^ - A | |
126 | | | | |
127 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 132 | --> $DIR/issue-28837.rs:32:7 |
ff7c6d11 | 133 | | |
532ac7d7 XL |
134 | LL | a > a; |
135 | | - ^ - A | |
136 | | | | |
137 | | A | |
ff7c6d11 XL |
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` | |
532ac7d7 | 142 | --> $DIR/issue-28837.rs:34:7 |
ff7c6d11 | 143 | | |
532ac7d7 XL |
144 | LL | a >= a; |
145 | | - ^^ - A | |
146 | | | | |
147 | | A | |
ff7c6d11 XL |
148 | | |
149 | = note: an implementation of `std::cmp::PartialOrd` might be missing for `A` | |
150 | ||
151 | error: aborting due to 15 previous errors | |
152 | ||
0531ce1d | 153 | For more information about this error, try `rustc --explain E0369`. |