@@ -50,8 +50,9 @@ LL | impl Tr1<A = usize> for usize {
50
50
|
51
51
help: consider removing this associated item binding
52
52
|
53
- LL | impl Tr1<A = usize> for usize {
54
- | ~~~~~~~~~~~
53
+ LL - impl Tr1<A = usize> for usize {
54
+ LL + impl Tr1 for usize {
55
+ |
55
56
56
57
error[E0046]: not all trait items implemented, missing: `A`
57
58
--> $DIR/associated-types-eq-2.rs:20:1
@@ -70,8 +71,9 @@ LL | fn baz<I: Tr1>(_x: &<I as Tr1<A=Bar>>::A) {}
70
71
|
71
72
help: consider removing this associated item binding
72
73
|
73
- LL | fn baz<I: Tr1>(_x: &<I as Tr1<A=Bar>>::A) {}
74
- | ~~~~~~~
74
+ LL - fn baz<I: Tr1>(_x: &<I as Tr1<A=Bar>>::A) {}
75
+ LL + fn baz<I: Tr1>(_x: &<I as Tr1>::A) {}
76
+ |
75
77
76
78
error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
77
79
--> $DIR/associated-types-eq-2.rs:40:6
@@ -128,8 +130,9 @@ LL | impl Tr2<i32, t2 = Qux, T3 = usize> for Qux {
128
130
|
129
131
help: consider removing this associated item binding
130
132
|
131
- LL | impl Tr2<i32, t2 = Qux, T3 = usize> for Qux {
132
- | ~~~~~~~~~~
133
+ LL - impl Tr2<i32, t2 = Qux, T3 = usize> for Qux {
134
+ LL + impl Tr2<i32, T3 = usize> for Qux {
135
+ |
133
136
134
137
error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
135
138
--> $DIR/associated-types-eq-2.rs:54:6
@@ -157,8 +160,9 @@ LL | impl Tr2<i32, X = Qux, Y = usize> for Bar {
157
160
|
158
161
help: consider removing this associated item binding
159
162
|
160
- LL | impl Tr2<i32, X = Qux, Y = usize> for Bar {
161
- | ~~~~~~~~~
163
+ LL - impl Tr2<i32, X = Qux, Y = usize> for Bar {
164
+ LL + impl Tr2<i32, Y = usize> for Bar {
165
+ |
162
166
163
167
error[E0107]: trait takes 3 generic arguments but 2 generic arguments were supplied
164
168
--> $DIR/associated-types-eq-2.rs:61:6
@@ -228,8 +232,9 @@ LL | impl Tr3<n = 42, T2 = Qux, T3 = usize> for Qux {
228
232
|
229
233
help: consider removing this associated item binding
230
234
|
231
- LL | impl Tr3<n = 42, T2 = Qux, T3 = usize> for Qux {
232
- | ~~~~~~~
235
+ LL - impl Tr3<n = 42, T2 = Qux, T3 = usize> for Qux {
236
+ LL + impl Tr3<T2 = Qux, T3 = usize> for Qux {
237
+ |
233
238
234
239
error[E0229]: associated item constraints are not allowed here
235
240
--> $DIR/associated-types-eq-2.rs:92:10
@@ -239,8 +244,9 @@ LL | impl Tr3<N = u32, T2 = Qux, T3 = usize> for Bar {
239
244
|
240
245
help: consider removing this associated item binding
241
246
|
242
- LL | impl Tr3<N = u32, T2 = Qux, T3 = usize> for Bar {
243
- | ~~~~~~~~
247
+ LL - impl Tr3<N = u32, T2 = Qux, T3 = usize> for Bar {
248
+ LL + impl Tr3<T2 = Qux, T3 = usize> for Bar {
249
+ |
244
250
245
251
error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
246
252
--> $DIR/associated-types-eq-2.rs:98:6
@@ -268,8 +274,9 @@ LL | impl Tr3<42, T2 = 42, T3 = usize> for Bar {
268
274
|
269
275
help: consider removing this associated item binding
270
276
|
271
- LL | impl Tr3<42, T2 = 42, T3 = usize> for Bar {
272
- | ~~~~~~~~~
277
+ LL - impl Tr3<42, T2 = 42, T3 = usize> for Bar {
278
+ LL + impl Tr3<42, T3 = usize> for Bar {
279
+ |
273
280
274
281
error[E0107]: trait takes 3 generic arguments but 0 generic arguments were supplied
275
282
--> $DIR/associated-types-eq-2.rs:106:6
@@ -295,8 +302,9 @@ LL | impl Tr3<X = 42, Y = Qux, Z = usize> for Bar {
295
302
|
296
303
help: consider removing this associated item binding
297
304
|
298
- LL | impl Tr3<X = 42, Y = Qux, Z = usize> for Bar {
299
- | ~~~~~~~
305
+ LL - impl Tr3<X = 42, Y = Qux, Z = usize> for Bar {
306
+ LL + impl Tr3<Y = Qux, Z = usize> for Bar {
307
+ |
300
308
301
309
error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
302
310
--> $DIR/associated-types-eq-2.rs:117:13
0 commit comments