@@ -4,7 +4,7 @@ error: generic arguments must come before the first constraint
44LL | struct A<T, M: One<A=(), T>> {
55 | ---- ^ generic argument
66 | |
7- | the first constraint is provided here
7+ | the constraint is provided here
88
99error: generic arguments must come before the first constraint
1010 --> $DIR/suggest-move-types.rs:33:43
@@ -13,70 +13,88 @@ LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
1313 | ---- ^ ^^ generic argument
1414 | | |
1515 | | generic argument
16- | the first constraint is provided here
16+ | the constraint is provided here
1717
1818error: generic arguments must come before the first constraint
1919 --> $DIR/suggest-move-types.rs:40:46
2020 |
2121LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
22- | ---- ^ ^ ^ generic argument
23- | | | |
24- | | | generic argument
25- | | generic argument
26- | the first constraint is provided here
22+ | ---- ---- ---- ^ ^ ^ generic argument
23+ | | | | | |
24+ | | | | | generic argument
25+ | | | | generic argument
26+ | | | the constraints are provided here
27+ | | the constraints are provided here
28+ | the constraints are provided here
2729
2830error: generic arguments must come before the first constraint
2931 --> $DIR/suggest-move-types.rs:48:71
3032 |
3133LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
32- | ---- ^ ^ ^ ^^ ^^ ^^ generic argument
33- | | | | | | |
34- | | | | | | generic argument
35- | | | | | generic argument
36- | | | | generic argument
37- | | | generic argument
38- | | generic argument
39- | the first constraint is provided here
34+ | ---- ---- ---- ^ ^ ^ ^^ ^^ ^^ generic argument
35+ | | | | | | | | |
36+ | | | | | | | | generic argument
37+ | | | | | | | generic argument
38+ | | | | | | generic argument
39+ | | | | | generic argument
40+ | | | | generic argument
41+ | | | the constraints are provided here
42+ | | the constraints are provided here
43+ | the constraints are provided here
4044
4145error: generic arguments must come before the first constraint
42- --> $DIR/suggest-move-types.rs:57:49
46+ --> $DIR/suggest-move-types.rs:57:28
4347 |
4448LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
45- | ---- ^ ^ generic argument
46- | | |
47- | | generic argument
48- | the first constraint is provided here
49+ | ^ ---- ---- ---- ^ ^ generic argument
50+ | | | | | |
51+ | | | | | generic argument
52+ | | | | the constraints are provided here
53+ | | | the constraints are provided here
54+ | | the constraints are provided here
55+ | generic argument
4956
5057error: generic arguments must come before the first constraint
51- --> $DIR/suggest-move-types.rs:65:78
58+ --> $DIR/suggest-move-types.rs:65:53
5259 |
5360LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
54- | ---- ^ ^^ ^ ^^ generic argument
55- | | | | |
56- | | | | generic argument
57- | | | generic argument
58- | | generic argument
59- | the first constraint is provided here
61+ | ^ ^^ ---- ---- ---- ^ ^^ ^ ^^ generic argument
62+ | | | | | | | | |
63+ | | | | | | | | generic argument
64+ | | | | | | | generic argument
65+ | | | | | | generic argument
66+ | | | | | the constraints are provided here
67+ | | | | the constraints are provided here
68+ | | | the constraints are provided here
69+ | | generic argument
70+ | generic argument
6071
6172error: generic arguments must come before the first constraint
62- --> $DIR/suggest-move-types.rs:74:43
73+ --> $DIR/suggest-move-types.rs:74:28
6374 |
6475LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
65- | ---- ^ ^ generic argument
66- | | |
67- | | generic argument
68- | the first constraint is provided here
76+ | ^ ---- ---- ^ ---- ^ generic argument
77+ | | | | | |
78+ | | | | | the constraints are provided here
79+ | | | | generic argument
80+ | | | the constraints are provided here
81+ | | the constraints are provided here
82+ | generic argument
6983
7084error: generic arguments must come before the first constraint
71- --> $DIR/suggest-move-types.rs:82:72
85+ --> $DIR/suggest-move-types.rs:82:53
7286 |
7387LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
74- | ---- ^ ^^ ^ ^^ generic argument
75- | | | | |
76- | | | | generic argument
77- | | | generic argument
78- | | generic argument
79- | the first constraint is provided here
88+ | ^ ^^ ---- ---- ^ ^^ ---- ^ ^^ generic argument
89+ | | | | | | | | |
90+ | | | | | | | | generic argument
91+ | | | | | | | the constraints are provided here
92+ | | | | | | generic argument
93+ | | | | | generic argument
94+ | | | | the constraints are provided here
95+ | | | the constraints are provided here
96+ | | generic argument
97+ | generic argument
8098
8199error[E0747]: type provided when a lifetime was expected
82100 --> $DIR/suggest-move-types.rs:33:43
0 commit comments