@@ -2,64 +2,80 @@ error: generic arguments must come before the first constraint
22 --> $DIR/suggest-move-types.rs:26:26
33 |
44LL | struct A<T, M: One<A=(), T>> {
5- | ---- ^
5+ | ---- ^ generic argument
66 | |
77 | the first constraint is provided here
88
99error: generic arguments must come before the first constraint
1010 --> $DIR/suggest-move-types.rs:33:43
1111 |
1212LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
13- | ---- ^ ^^
14- | |
13+ | ---- ^ ^^ generic argument
14+ | | |
15+ | | generic argument
1516 | the first constraint is provided here
1617
1718error: generic arguments must come before the first constraint
1819 --> $DIR/suggest-move-types.rs:40:46
1920 |
2021LL | 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
2326 | the first constraint is provided here
2427
2528error: generic arguments must come before the first constraint
2629 --> $DIR/suggest-move-types.rs:48:71
2730 |
2831LL | 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
3139 | the first constraint is provided here
3240
3341error: generic arguments must come before the first constraint
3442 --> $DIR/suggest-move-types.rs:57:49
3543 |
3644LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
37- | ---- ^ ^
38- | |
45+ | ---- ^ ^ generic argument
46+ | | |
47+ | | generic argument
3948 | the first constraint is provided here
4049
4150error: generic arguments must come before the first constraint
4251 --> $DIR/suggest-move-types.rs:65:78
4352 |
4453LL | 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
4759 | the first constraint is provided here
4860
4961error: generic arguments must come before the first constraint
5062 --> $DIR/suggest-move-types.rs:74:43
5163 |
5264LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
53- | ---- ^ ^
54- | |
65+ | ---- ^ ^ generic argument
66+ | | |
67+ | | generic argument
5568 | the first constraint is provided here
5669
5770error: generic arguments must come before the first constraint
5871 --> $DIR/suggest-move-types.rs:82:72
5972 |
6073LL | 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
6379 | the first constraint is provided here
6480
6581error[E0747]: type provided when a lifetime was expected
0 commit comments