@@ -4,7 +4,7 @@ error: generic arguments must come before the first constraint
4
4
LL | struct A<T, M: One<A=(), T>> {
5
5
| ---- ^ generic argument
6
6
| |
7
- | the constraint is provided here
7
+ | constraint
8
8
|
9
9
help: move the constraint after the generic argument
10
10
|
@@ -18,7 +18,7 @@ LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
18
18
| ---- ^ ^^ generic argument
19
19
| | |
20
20
| | generic argument
21
- | the constraint is provided here
21
+ | constraint
22
22
|
23
23
help: move the constraint after the generic arguments
24
24
|
@@ -33,9 +33,9 @@ LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
33
33
| | | | | |
34
34
| | | | | generic argument
35
35
| | | | generic argument
36
- | | | the constraints are provided here
37
- | | the constraints are provided here
38
- | the constraints are provided here
36
+ | | | constraint
37
+ | | constraint
38
+ | constraint
39
39
|
40
40
help: move the constraints after the generic arguments
41
41
|
@@ -53,9 +53,9 @@ LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U,
53
53
| | | | | | generic argument
54
54
| | | | | generic argument
55
55
| | | | generic argument
56
- | | | the constraints are provided here
57
- | | the constraints are provided here
58
- | the constraints are provided here
56
+ | | | constraint
57
+ | | constraint
58
+ | constraint
59
59
|
60
60
help: move the constraints after the generic arguments
61
61
|
@@ -69,9 +69,9 @@ LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
69
69
| ^ ---- ---- ---- ^ ^ generic argument
70
70
| | | | | |
71
71
| | | | | generic argument
72
- | | | | the constraints are provided here
73
- | | | the constraints are provided here
74
- | | the constraints are provided here
72
+ | | | | constraint
73
+ | | | constraint
74
+ | | constraint
75
75
| generic argument
76
76
|
77
77
help: move the constraints after the generic arguments
@@ -88,9 +88,9 @@ LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=()
88
88
| | | | | | | | generic argument
89
89
| | | | | | | generic argument
90
90
| | | | | | generic argument
91
- | | | | | the constraints are provided here
92
- | | | | the constraints are provided here
93
- | | | the constraints are provided here
91
+ | | | | | constraint
92
+ | | | | constraint
93
+ | | | constraint
94
94
| | generic argument
95
95
| generic argument
96
96
|
@@ -105,10 +105,10 @@ error: generic arguments must come before the first constraint
105
105
LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
106
106
| ^ ---- ---- ^ ---- ^ generic argument
107
107
| | | | | |
108
- | | | | | the constraints are provided here
108
+ | | | | | constraint
109
109
| | | | generic argument
110
- | | | the constraints are provided here
111
- | | the constraints are provided here
110
+ | | | constraint
111
+ | | constraint
112
112
| generic argument
113
113
|
114
114
help: move the constraints after the generic arguments
@@ -123,11 +123,11 @@ LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, '
123
123
| ^ ^^ ---- ---- ^ ^^ ---- ^ ^^ generic argument
124
124
| | | | | | | | |
125
125
| | | | | | | | generic argument
126
- | | | | | | | the constraints are provided here
126
+ | | | | | | | constraint
127
127
| | | | | | generic argument
128
128
| | | | | generic argument
129
- | | | | the constraints are provided here
130
- | | | the constraints are provided here
129
+ | | | | constraint
130
+ | | | constraint
131
131
| | generic argument
132
132
| generic argument
133
133
|
0 commit comments