@@ -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 first constraint is provided here
7
+ | the constraint is provided here
8
8
9
9
error: generic arguments must come before the first constraint
10
10
--> $DIR/suggest-move-types.rs:33:43
@@ -13,70 +13,88 @@ LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
13
13
| ---- ^ ^^ generic argument
14
14
| | |
15
15
| | generic argument
16
- | the first constraint is provided here
16
+ | the constraint is provided here
17
17
18
18
error: generic arguments must come before the first constraint
19
19
--> $DIR/suggest-move-types.rs:40:46
20
20
|
21
21
LL | 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
27
29
28
30
error: generic arguments must come before the first constraint
29
31
--> $DIR/suggest-move-types.rs:48:71
30
32
|
31
33
LL | 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
40
44
41
45
error: generic arguments must come before the first constraint
42
- --> $DIR/suggest-move-types.rs:57:49
46
+ --> $DIR/suggest-move-types.rs:57:28
43
47
|
44
48
LL | 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
49
56
50
57
error: generic arguments must come before the first constraint
51
- --> $DIR/suggest-move-types.rs:65:78
58
+ --> $DIR/suggest-move-types.rs:65:53
52
59
|
53
60
LL | 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
60
71
61
72
error: generic arguments must come before the first constraint
62
- --> $DIR/suggest-move-types.rs:74:43
73
+ --> $DIR/suggest-move-types.rs:74:28
63
74
|
64
75
LL | 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
69
83
70
84
error: generic arguments must come before the first constraint
71
- --> $DIR/suggest-move-types.rs:82:72
85
+ --> $DIR/suggest-move-types.rs:82:53
72
86
|
73
87
LL | 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
80
98
81
99
error[E0747]: type provided when a lifetime was expected
82
100
--> $DIR/suggest-move-types.rs:33:43
0 commit comments