@@ -6,11 +6,11 @@ LL | a + a;
66 | |
77 | A
88 |
9- note: an implementation of `Add<_> ` might be missing for `A`
9+ note: an implementation of `Add` might be missing for `A`
1010 --> $DIR/issue-28837.rs:1:1
1111 |
1212LL | struct A;
13- | ^^^^^^^^ must implement `Add<_> `
13+ | ^^^^^^^^ must implement `Add`
1414note: the trait `Add` must be implemented
1515 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
1616
@@ -22,11 +22,11 @@ LL | a - a;
2222 | |
2323 | A
2424 |
25- note: an implementation of `Sub<_> ` might be missing for `A`
25+ note: an implementation of `Sub` might be missing for `A`
2626 --> $DIR/issue-28837.rs:1:1
2727 |
2828LL | struct A;
29- | ^^^^^^^^ must implement `Sub<_> `
29+ | ^^^^^^^^ must implement `Sub`
3030note: the trait `Sub` must be implemented
3131 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
3232
@@ -38,11 +38,11 @@ LL | a * a;
3838 | |
3939 | A
4040 |
41- note: an implementation of `Mul<_> ` might be missing for `A`
41+ note: an implementation of `Mul` might be missing for `A`
4242 --> $DIR/issue-28837.rs:1:1
4343 |
4444LL | struct A;
45- | ^^^^^^^^ must implement `Mul<_> `
45+ | ^^^^^^^^ must implement `Mul`
4646note: the trait `Mul` must be implemented
4747 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
4848
@@ -54,11 +54,11 @@ LL | a / a;
5454 | |
5555 | A
5656 |
57- note: an implementation of `Div<_> ` might be missing for `A`
57+ note: an implementation of `Div` might be missing for `A`
5858 --> $DIR/issue-28837.rs:1:1
5959 |
6060LL | struct A;
61- | ^^^^^^^^ must implement `Div<_> `
61+ | ^^^^^^^^ must implement `Div`
6262note: the trait `Div` must be implemented
6363 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
6464
@@ -70,11 +70,11 @@ LL | a % a;
7070 | |
7171 | A
7272 |
73- note: an implementation of `Rem<_> ` might be missing for `A`
73+ note: an implementation of `Rem` might be missing for `A`
7474 --> $DIR/issue-28837.rs:1:1
7575 |
7676LL | struct A;
77- | ^^^^^^^^ must implement `Rem<_> `
77+ | ^^^^^^^^ must implement `Rem`
7878note: the trait `Rem` must be implemented
7979 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
8080
@@ -86,11 +86,11 @@ LL | a & a;
8686 | |
8787 | A
8888 |
89- note: an implementation of `BitAnd<_> ` might be missing for `A`
89+ note: an implementation of `BitAnd` might be missing for `A`
9090 --> $DIR/issue-28837.rs:1:1
9191 |
9292LL | struct A;
93- | ^^^^^^^^ must implement `BitAnd<_> `
93+ | ^^^^^^^^ must implement `BitAnd`
9494note: the trait `BitAnd` must be implemented
9595 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
9696
@@ -102,11 +102,11 @@ LL | a | a;
102102 | |
103103 | A
104104 |
105- note: an implementation of `BitOr<_> ` might be missing for `A`
105+ note: an implementation of `BitOr` might be missing for `A`
106106 --> $DIR/issue-28837.rs:1:1
107107 |
108108LL | struct A;
109- | ^^^^^^^^ must implement `BitOr<_> `
109+ | ^^^^^^^^ must implement `BitOr`
110110note: the trait `BitOr` must be implemented
111111 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
112112
@@ -118,11 +118,11 @@ LL | a << a;
118118 | |
119119 | A
120120 |
121- note: an implementation of `Shl<_> ` might be missing for `A`
121+ note: an implementation of `Shl` might be missing for `A`
122122 --> $DIR/issue-28837.rs:1:1
123123 |
124124LL | struct A;
125- | ^^^^^^^^ must implement `Shl<_> `
125+ | ^^^^^^^^ must implement `Shl`
126126note: the trait `Shl` must be implemented
127127 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
128128
@@ -134,11 +134,11 @@ LL | a >> a;
134134 | |
135135 | A
136136 |
137- note: an implementation of `Shr<_> ` might be missing for `A`
137+ note: an implementation of `Shr` might be missing for `A`
138138 --> $DIR/issue-28837.rs:1:1
139139 |
140140LL | struct A;
141- | ^^^^^^^^ must implement `Shr<_> `
141+ | ^^^^^^^^ must implement `Shr`
142142note: the trait `Shr` must be implemented
143143 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
144144
@@ -150,11 +150,11 @@ LL | a == a;
150150 | |
151151 | A
152152 |
153- note: an implementation of `PartialEq<_> ` might be missing for `A`
153+ note: an implementation of `PartialEq` might be missing for `A`
154154 --> $DIR/issue-28837.rs:1:1
155155 |
156156LL | struct A;
157- | ^^^^^^^^ must implement `PartialEq<_> `
157+ | ^^^^^^^^ must implement `PartialEq`
158158help: consider annotating `A` with `#[derive(PartialEq)]`
159159 |
160160LL + #[derive(PartialEq)]
@@ -169,11 +169,11 @@ LL | a != a;
169169 | |
170170 | A
171171 |
172- note: an implementation of `PartialEq<_> ` might be missing for `A`
172+ note: an implementation of `PartialEq` might be missing for `A`
173173 --> $DIR/issue-28837.rs:1:1
174174 |
175175LL | struct A;
176- | ^^^^^^^^ must implement `PartialEq<_> `
176+ | ^^^^^^^^ must implement `PartialEq`
177177help: consider annotating `A` with `#[derive(PartialEq)]`
178178 |
179179LL + #[derive(PartialEq)]
@@ -188,11 +188,11 @@ LL | a < a;
188188 | |
189189 | A
190190 |
191- note: an implementation of `PartialOrd<_> ` might be missing for `A`
191+ note: an implementation of `PartialOrd` might be missing for `A`
192192 --> $DIR/issue-28837.rs:1:1
193193 |
194194LL | struct A;
195- | ^^^^^^^^ must implement `PartialOrd<_> `
195+ | ^^^^^^^^ must implement `PartialOrd`
196196help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
197197 |
198198LL + #[derive(PartialEq, PartialOrd)]
@@ -207,11 +207,11 @@ LL | a <= a;
207207 | |
208208 | A
209209 |
210- note: an implementation of `PartialOrd<_> ` might be missing for `A`
210+ note: an implementation of `PartialOrd` might be missing for `A`
211211 --> $DIR/issue-28837.rs:1:1
212212 |
213213LL | struct A;
214- | ^^^^^^^^ must implement `PartialOrd<_> `
214+ | ^^^^^^^^ must implement `PartialOrd`
215215help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
216216 |
217217LL + #[derive(PartialEq, PartialOrd)]
@@ -226,11 +226,11 @@ LL | a > a;
226226 | |
227227 | A
228228 |
229- note: an implementation of `PartialOrd<_> ` might be missing for `A`
229+ note: an implementation of `PartialOrd` might be missing for `A`
230230 --> $DIR/issue-28837.rs:1:1
231231 |
232232LL | struct A;
233- | ^^^^^^^^ must implement `PartialOrd<_> `
233+ | ^^^^^^^^ must implement `PartialOrd`
234234help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
235235 |
236236LL + #[derive(PartialEq, PartialOrd)]
@@ -245,11 +245,11 @@ LL | a >= a;
245245 | |
246246 | A
247247 |
248- note: an implementation of `PartialOrd<_> ` might be missing for `A`
248+ note: an implementation of `PartialOrd` might be missing for `A`
249249 --> $DIR/issue-28837.rs:1:1
250250 |
251251LL | struct A;
252- | ^^^^^^^^ must implement `PartialOrd<_> `
252+ | ^^^^^^^^ must implement `PartialOrd`
253253help: consider annotating `A` with `#[derive(PartialEq, PartialOrd)]`
254254 |
255255LL + #[derive(PartialEq, PartialOrd)]
0 commit comments