@@ -15,9 +15,8 @@ error: generic arguments must come before the first constraint
15
15
--> $DIR/suggest-move-types.rs:33:43
16
16
|
17
17
LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
18
- | ---- ^ ^^ generic argument
19
- | | |
20
- | | generic argument
18
+ | ---- ^ ^^ generic arguments
19
+ | |
21
20
| constraint
22
21
|
23
22
help: move the constraint after the generic arguments
@@ -29,13 +28,9 @@ error: generic arguments must come before the first constraint
29
28
--> $DIR/suggest-move-types.rs:40:46
30
29
|
31
30
LL | 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
39
34
|
40
35
help: move the constraints after the generic arguments
41
36
|
@@ -46,16 +41,9 @@ error: generic arguments must come before the first constraint
46
41
--> $DIR/suggest-move-types.rs:48:71
47
42
|
48
43
LL | 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
59
47
|
60
48
help: move the constraints after the generic arguments
61
49
|
@@ -66,13 +54,9 @@ error: generic arguments must come before the first constraint
66
54
--> $DIR/suggest-move-types.rs:57:28
67
55
|
68
56
LL | 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
76
60
|
77
61
help: move the constraints after the generic arguments
78
62
|
@@ -83,16 +67,9 @@ error: generic arguments must come before the first constraint
83
67
--> $DIR/suggest-move-types.rs:65:53
84
68
|
85
69
LL | 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
96
73
|
97
74
help: move the constraints after the generic arguments
98
75
|
@@ -103,13 +80,9 @@ error: generic arguments must come before the first constraint
103
80
--> $DIR/suggest-move-types.rs:74:28
104
81
|
105
82
LL | 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
113
86
|
114
87
help: move the constraints after the generic arguments
115
88
|
@@ -120,16 +93,9 @@ error: generic arguments must come before the first constraint
120
93
--> $DIR/suggest-move-types.rs:82:53
121
94
|
122
95
LL | 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
133
99
|
134
100
help: move the constraints after the generic arguments
135
101
|
0 commit comments