@@ -2,64 +2,80 @@ error: generic arguments must come before the first constraint
2
2
--> $DIR/suggest-move-types.rs:26:26
3
3
|
4
4
LL | struct A<T, M: One<A=(), T>> {
5
- | ---- ^
5
+ | ---- ^ generic argument
6
6
| |
7
7
| the first 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
11
11
|
12
12
LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
13
- | ---- ^ ^^
14
- | |
13
+ | ---- ^ ^^ generic argument
14
+ | | |
15
+ | | generic argument
15
16
| the first constraint is provided here
16
17
17
18
error: generic arguments must come before the first constraint
18
19
--> $DIR/suggest-move-types.rs:40:46
19
20
|
20
21
LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
21
- | ---- ^ ^ ^
22
- | |
22
+ | ---- ^ ^ ^ generic argument
23
+ | | | |
24
+ | | | generic argument
25
+ | | generic argument
23
26
| the first constraint is provided here
24
27
25
28
error: generic arguments must come before the first constraint
26
29
--> $DIR/suggest-move-types.rs:48:71
27
30
|
28
31
LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
29
- | ---- ^ ^ ^ ^^ ^^ ^^
30
- | |
32
+ | ---- ^ ^ ^ ^^ ^^ ^^ generic argument
33
+ | | | | | | |
34
+ | | | | | | generic argument
35
+ | | | | | generic argument
36
+ | | | | generic argument
37
+ | | | generic argument
38
+ | | generic argument
31
39
| the first constraint is provided here
32
40
33
41
error: generic arguments must come before the first constraint
34
42
--> $DIR/suggest-move-types.rs:57:49
35
43
|
36
44
LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
37
- | ---- ^ ^
38
- | |
45
+ | ---- ^ ^ generic argument
46
+ | | |
47
+ | | generic argument
39
48
| the first constraint is provided here
40
49
41
50
error: generic arguments must come before the first constraint
42
51
--> $DIR/suggest-move-types.rs:65:78
43
52
|
44
53
LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
45
- | ---- ^ ^^ ^ ^^
46
- | |
54
+ | ---- ^ ^^ ^ ^^ generic argument
55
+ | | | | |
56
+ | | | | generic argument
57
+ | | | generic argument
58
+ | | generic argument
47
59
| the first constraint is provided here
48
60
49
61
error: generic arguments must come before the first constraint
50
62
--> $DIR/suggest-move-types.rs:74:43
51
63
|
52
64
LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
53
- | ---- ^ ^
54
- | |
65
+ | ---- ^ ^ generic argument
66
+ | | |
67
+ | | generic argument
55
68
| the first constraint is provided here
56
69
57
70
error: generic arguments must come before the first constraint
58
71
--> $DIR/suggest-move-types.rs:82:72
59
72
|
60
73
LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
61
- | ---- ^ ^^ ^ ^^
62
- | |
74
+ | ---- ^ ^^ ^ ^^ generic argument
75
+ | | | | |
76
+ | | | | generic argument
77
+ | | | generic argument
78
+ | | generic argument
63
79
| the first constraint is provided here
64
80
65
81
error[E0747]: type provided when a lifetime was expected
0 commit comments