@@ -6,11 +6,11 @@ LL | a + a;
6
6
| |
7
7
| A
8
8
|
9
- note: an implementation of `Add<_> ` might be missing for `A`
9
+ note: an implementation of `Add` might be missing for `A`
10
10
--> $DIR/issue-28837.rs:1:1
11
11
|
12
12
LL | struct A;
13
- | ^^^^^^^^ must implement `Add<_> `
13
+ | ^^^^^^^^ must implement `Add`
14
14
note: the trait `Add` must be implemented
15
15
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
16
16
@@ -22,11 +22,11 @@ LL | a - a;
22
22
| |
23
23
| A
24
24
|
25
- note: an implementation of `Sub<_> ` might be missing for `A`
25
+ note: an implementation of `Sub` might be missing for `A`
26
26
--> $DIR/issue-28837.rs:1:1
27
27
|
28
28
LL | struct A;
29
- | ^^^^^^^^ must implement `Sub<_> `
29
+ | ^^^^^^^^ must implement `Sub`
30
30
note: the trait `Sub` must be implemented
31
31
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
32
32
@@ -38,11 +38,11 @@ LL | a * a;
38
38
| |
39
39
| A
40
40
|
41
- note: an implementation of `Mul<_> ` might be missing for `A`
41
+ note: an implementation of `Mul` might be missing for `A`
42
42
--> $DIR/issue-28837.rs:1:1
43
43
|
44
44
LL | struct A;
45
- | ^^^^^^^^ must implement `Mul<_> `
45
+ | ^^^^^^^^ must implement `Mul`
46
46
note: the trait `Mul` must be implemented
47
47
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
48
48
@@ -54,11 +54,11 @@ LL | a / a;
54
54
| |
55
55
| A
56
56
|
57
- note: an implementation of `Div<_> ` might be missing for `A`
57
+ note: an implementation of `Div` might be missing for `A`
58
58
--> $DIR/issue-28837.rs:1:1
59
59
|
60
60
LL | struct A;
61
- | ^^^^^^^^ must implement `Div<_> `
61
+ | ^^^^^^^^ must implement `Div`
62
62
note: the trait `Div` must be implemented
63
63
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
64
64
@@ -70,11 +70,11 @@ LL | a % a;
70
70
| |
71
71
| A
72
72
|
73
- note: an implementation of `Rem<_> ` might be missing for `A`
73
+ note: an implementation of `Rem` might be missing for `A`
74
74
--> $DIR/issue-28837.rs:1:1
75
75
|
76
76
LL | struct A;
77
- | ^^^^^^^^ must implement `Rem<_> `
77
+ | ^^^^^^^^ must implement `Rem`
78
78
note: the trait `Rem` must be implemented
79
79
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
80
80
@@ -86,11 +86,11 @@ LL | a & a;
86
86
| |
87
87
| A
88
88
|
89
- note: an implementation of `BitAnd<_> ` might be missing for `A`
89
+ note: an implementation of `BitAnd` might be missing for `A`
90
90
--> $DIR/issue-28837.rs:1:1
91
91
|
92
92
LL | struct A;
93
- | ^^^^^^^^ must implement `BitAnd<_> `
93
+ | ^^^^^^^^ must implement `BitAnd`
94
94
note: the trait `BitAnd` must be implemented
95
95
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
96
96
@@ -102,11 +102,11 @@ LL | a | a;
102
102
| |
103
103
| A
104
104
|
105
- note: an implementation of `BitOr<_> ` might be missing for `A`
105
+ note: an implementation of `BitOr` might be missing for `A`
106
106
--> $DIR/issue-28837.rs:1:1
107
107
|
108
108
LL | struct A;
109
- | ^^^^^^^^ must implement `BitOr<_> `
109
+ | ^^^^^^^^ must implement `BitOr`
110
110
note: the trait `BitOr` must be implemented
111
111
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
112
112
@@ -118,11 +118,11 @@ LL | a << a;
118
118
| |
119
119
| A
120
120
|
121
- note: an implementation of `Shl<_> ` might be missing for `A`
121
+ note: an implementation of `Shl` might be missing for `A`
122
122
--> $DIR/issue-28837.rs:1:1
123
123
|
124
124
LL | struct A;
125
- | ^^^^^^^^ must implement `Shl<_> `
125
+ | ^^^^^^^^ must implement `Shl`
126
126
note: the trait `Shl` must be implemented
127
127
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
128
128
@@ -134,11 +134,11 @@ LL | a >> a;
134
134
| |
135
135
| A
136
136
|
137
- note: an implementation of `Shr<_> ` might be missing for `A`
137
+ note: an implementation of `Shr` might be missing for `A`
138
138
--> $DIR/issue-28837.rs:1:1
139
139
|
140
140
LL | struct A;
141
- | ^^^^^^^^ must implement `Shr<_> `
141
+ | ^^^^^^^^ must implement `Shr`
142
142
note: the trait `Shr` must be implemented
143
143
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
144
144
@@ -150,11 +150,11 @@ LL | a == a;
150
150
| |
151
151
| A
152
152
|
153
- note: an implementation of `PartialEq<_> ` might be missing for `A`
153
+ note: an implementation of `PartialEq` might be missing for `A`
154
154
--> $DIR/issue-28837.rs:1:1
155
155
|
156
156
LL | struct A;
157
- | ^^^^^^^^ must implement `PartialEq<_> `
157
+ | ^^^^^^^^ must implement `PartialEq`
158
158
help: consider annotating `A` with `#[derive(PartialEq)]`
159
159
|
160
160
LL + #[derive(PartialEq)]
@@ -169,11 +169,11 @@ LL | a != a;
169
169
| |
170
170
| A
171
171
|
172
- note: an implementation of `PartialEq<_> ` might be missing for `A`
172
+ note: an implementation of `PartialEq` might be missing for `A`
173
173
--> $DIR/issue-28837.rs:1:1
174
174
|
175
175
LL | struct A;
176
- | ^^^^^^^^ must implement `PartialEq<_> `
176
+ | ^^^^^^^^ must implement `PartialEq`
177
177
help: consider annotating `A` with `#[derive(PartialEq)]`
178
178
|
179
179
LL + #[derive(PartialEq)]
@@ -188,11 +188,11 @@ LL | a < a;
188
188
| |
189
189
| A
190
190
|
191
- note: an implementation of `PartialOrd<_> ` might be missing for `A`
191
+ note: an implementation of `PartialOrd` might be missing for `A`
192
192
--> $DIR/issue-28837.rs:1:1
193
193
|
194
194
LL | struct A;
195
- | ^^^^^^^^ must implement `PartialOrd<_> `
195
+ | ^^^^^^^^ must implement `PartialOrd`
196
196
help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
197
197
|
198
198
LL + #[derive(PartialEq, PartialOrd)]
@@ -207,11 +207,11 @@ LL | a <= a;
207
207
| |
208
208
| A
209
209
|
210
- note: an implementation of `PartialOrd<_> ` might be missing for `A`
210
+ note: an implementation of `PartialOrd` might be missing for `A`
211
211
--> $DIR/issue-28837.rs:1:1
212
212
|
213
213
LL | struct A;
214
- | ^^^^^^^^ must implement `PartialOrd<_> `
214
+ | ^^^^^^^^ must implement `PartialOrd`
215
215
help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
216
216
|
217
217
LL + #[derive(PartialEq, PartialOrd)]
@@ -226,11 +226,11 @@ LL | a > a;
226
226
| |
227
227
| A
228
228
|
229
- note: an implementation of `PartialOrd<_> ` might be missing for `A`
229
+ note: an implementation of `PartialOrd` might be missing for `A`
230
230
--> $DIR/issue-28837.rs:1:1
231
231
|
232
232
LL | struct A;
233
- | ^^^^^^^^ must implement `PartialOrd<_> `
233
+ | ^^^^^^^^ must implement `PartialOrd`
234
234
help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
235
235
|
236
236
LL + #[derive(PartialEq, PartialOrd)]
@@ -245,11 +245,11 @@ LL | a >= a;
245
245
| |
246
246
| A
247
247
|
248
- note: an implementation of `PartialOrd<_> ` might be missing for `A`
248
+ note: an implementation of `PartialOrd` might be missing for `A`
249
249
--> $DIR/issue-28837.rs:1:1
250
250
|
251
251
LL | struct A;
252
- | ^^^^^^^^ must implement `PartialOrd<_> `
252
+ | ^^^^^^^^ must implement `PartialOrd`
253
253
help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
254
254
|
255
255
LL + #[derive(PartialEq, PartialOrd)]
0 commit comments