@@ -15,9 +15,8 @@ error: generic arguments must come before the first constraint
1515 --> $DIR/suggest-move-types.rs:33:43
1616 |
1717LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
18- | ---- ^ ^^ generic argument
19- | | |
20- | | generic argument
18+ | ---- ^ ^^ generic arguments
19+ | |
2120 | constraint
2221 |
2322help: move the constraint after the generic arguments
@@ -29,13 +28,9 @@ error: generic arguments must come before the first constraint
2928 --> $DIR/suggest-move-types.rs:40:46
3029 |
3130LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
32- | ---- ---- ---- ^ ^ ^ generic argument
33- | | | | | |
34- | | | | | generic argument
35- | | | | generic argument
36- | | | constraint
37- | | constraint
38- | constraint
31+ | ---- ---- ---- ^ ^ ^ generic arguments
32+ | |
33+ | constraints
3934 |
4035help: move the constraints after the generic arguments
4136 |
@@ -46,16 +41,9 @@ error: generic arguments must come before the first constraint
4641 --> $DIR/suggest-move-types.rs:48:71
4742 |
4843LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
49- | ---- ---- ---- ^ ^ ^ ^^ ^^ ^^ generic argument
50- | | | | | | | | |
51- | | | | | | | | generic argument
52- | | | | | | | generic argument
53- | | | | | | generic argument
54- | | | | | generic argument
55- | | | | generic argument
56- | | | constraint
57- | | constraint
58- | constraint
44+ | ---- ---- ---- ^ ^ ^ ^^ ^^ ^^ generic arguments
45+ | |
46+ | constraints
5947 |
6048help: move the constraints after the generic arguments
6149 |
@@ -66,13 +54,9 @@ error: generic arguments must come before the first constraint
6654 --> $DIR/suggest-move-types.rs:57:28
6755 |
6856LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
69- | ^ ---- ---- ---- ^ ^ generic argument
70- | | | | | |
71- | | | | | generic argument
72- | | | | constraint
73- | | | constraint
74- | | constraint
75- | generic argument
57+ | ^ ---- ---- ---- ^ ^ generic arguments
58+ | |
59+ | constraints
7660 |
7761help: move the constraints after the generic arguments
7862 |
@@ -83,16 +67,9 @@ error: generic arguments must come before the first constraint
8367 --> $DIR/suggest-move-types.rs:65:53
8468 |
8569LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
86- | ^ ^^ ---- ---- ---- ^ ^^ ^ ^^ generic argument
87- | | | | | | | | |
88- | | | | | | | | generic argument
89- | | | | | | | generic argument
90- | | | | | | generic argument
91- | | | | | constraint
92- | | | | constraint
93- | | | constraint
94- | | generic argument
95- | generic argument
70+ | ^ ^^ ---- ---- ---- ^ ^^ ^ ^^ generic arguments
71+ | |
72+ | constraints
9673 |
9774help: move the constraints after the generic arguments
9875 |
@@ -103,13 +80,9 @@ error: generic arguments must come before the first constraint
10380 --> $DIR/suggest-move-types.rs:74:28
10481 |
10582LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
106- | ^ ---- ---- ^ ---- ^ generic argument
107- | | | | | |
108- | | | | | constraint
109- | | | | generic argument
110- | | | constraint
111- | | constraint
112- | generic argument
83+ | ^ ---- ---- ^ ---- ^ generic arguments
84+ | |
85+ | constraints
11386 |
11487help: move the constraints after the generic arguments
11588 |
@@ -120,16 +93,9 @@ error: generic arguments must come before the first constraint
12093 --> $DIR/suggest-move-types.rs:82:53
12194 |
12295LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
123- | ^ ^^ ---- ---- ^ ^^ ---- ^ ^^ generic argument
124- | | | | | | | | |
125- | | | | | | | | generic argument
126- | | | | | | | constraint
127- | | | | | | generic argument
128- | | | | | generic argument
129- | | | | constraint
130- | | | constraint
131- | | generic argument
132- | generic argument
96+ | ^ ^^ ---- ---- ^ ^^ ---- ^ ^^ generic arguments
97+ | |
98+ | constraints
13399 |
134100help: move the constraints after the generic arguments
135101 |
0 commit comments