@@ -50,8 +50,9 @@ LL | impl Tr1<A = usize> for usize {
5050 |
5151help: consider removing this associated item binding
5252 |
53- LL | impl Tr1<A = usize> for usize {
54- | ~~~~~~~~~~~
53+ LL - impl Tr1<A = usize> for usize {
54+ LL + impl Tr1 for usize {
55+ |
5556
5657error[E0046]: not all trait items implemented, missing: `A`
5758 --> $DIR/associated-types-eq-2.rs:20:1
@@ -70,8 +71,9 @@ LL | fn baz<I: Tr1>(_x: &<I as Tr1<A=Bar>>::A) {}
7071 |
7172help: consider removing this associated item binding
7273 |
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+ |
7577
7678error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
7779 --> $DIR/associated-types-eq-2.rs:40:6
@@ -128,8 +130,9 @@ LL | impl Tr2<i32, t2 = Qux, T3 = usize> for Qux {
128130 |
129131help: consider removing this associated item binding
130132 |
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+ |
133136
134137error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
135138 --> $DIR/associated-types-eq-2.rs:54:6
@@ -157,8 +160,9 @@ LL | impl Tr2<i32, X = Qux, Y = usize> for Bar {
157160 |
158161help: consider removing this associated item binding
159162 |
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+ |
162166
163167error[E0107]: trait takes 3 generic arguments but 2 generic arguments were supplied
164168 --> $DIR/associated-types-eq-2.rs:61:6
@@ -228,8 +232,9 @@ LL | impl Tr3<n = 42, T2 = Qux, T3 = usize> for Qux {
228232 |
229233help: consider removing this associated item binding
230234 |
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+ |
233238
234239error[E0229]: associated item constraints are not allowed here
235240 --> $DIR/associated-types-eq-2.rs:92:10
@@ -239,8 +244,9 @@ LL | impl Tr3<N = u32, T2 = Qux, T3 = usize> for Bar {
239244 |
240245help: consider removing this associated item binding
241246 |
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+ |
244250
245251error[E0107]: trait takes 3 generic arguments but 1 generic argument was supplied
246252 --> $DIR/associated-types-eq-2.rs:98:6
@@ -268,8 +274,9 @@ LL | impl Tr3<42, T2 = 42, T3 = usize> for Bar {
268274 |
269275help: consider removing this associated item binding
270276 |
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+ |
273280
274281error[E0107]: trait takes 3 generic arguments but 0 generic arguments were supplied
275282 --> $DIR/associated-types-eq-2.rs:106:6
@@ -295,8 +302,9 @@ LL | impl Tr3<X = 42, Y = Qux, Z = usize> for Bar {
295302 |
296303help: consider removing this associated item binding
297304 |
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+ |
300308
301309error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
302310 --> $DIR/associated-types-eq-2.rs:117:13
0 commit comments