1 error: associated type bindings must be declared after generic parameters
2 --> $DIR/suggest-move-types.rs:28:20
4 LL | struct A<T, M: One<A=(), T>> {
7 | this associated type binding should be moved after the generic parameters
9 error: associated type bindings must be declared after generic parameters
10 --> $DIR/suggest-move-types.rs:34:37
12 LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
15 | this associated type binding should be moved after the generic parameters
17 error: associated type bindings must be declared after generic parameters
18 --> $DIR/suggest-move-types.rs:41:28
20 LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
21 | ----^^----^^----^^^^^^^^^
23 | | | this associated type binding should be moved after the generic parameters
24 | | this associated type binding should be moved after the generic parameters
25 | this associated type binding should be moved after the generic parameters
27 error: associated type bindings must be declared after generic parameters
28 --> $DIR/suggest-move-types.rs:48:53
30 LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
31 | ----^^----^^----^^^^^^^^^^^^^^^^^^^^^
33 | | | this associated type binding should be moved after the generic parameters
34 | | this associated type binding should be moved after the generic parameters
35 | this associated type binding should be moved after the generic parameters
37 error: associated type bindings must be declared after generic parameters
38 --> $DIR/suggest-move-types.rs:57:28
40 LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
41 | ^^^----^^----^^----^^^^^^
43 | | | this associated type binding should be moved after the generic parameters
44 | | this associated type binding should be moved after the generic parameters
45 | this associated type binding should be moved after the generic parameters
47 error: associated type bindings must be declared after generic parameters
48 --> $DIR/suggest-move-types.rs:64:53
50 LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
51 | ^^^^^^^----^^----^^----^^^^^^^^^^^^^^
53 | | | this associated type binding should be moved after the generic parameters
54 | | this associated type binding should be moved after the generic parameters
55 | this associated type binding should be moved after the generic parameters
57 error: associated type bindings must be declared after generic parameters
58 --> $DIR/suggest-move-types.rs:73:28
60 LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
61 | ^^^----^^----^^^^^----^^^
63 | | | this associated type binding should be moved after the generic parameters
64 | | this associated type binding should be moved after the generic parameters
65 | this associated type binding should be moved after the generic parameters
67 error: associated type bindings must be declared after generic parameters
68 --> $DIR/suggest-move-types.rs:80:53
70 LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
71 | ^^^^^^^----^^----^^^^^^^^^----^^^^^^^
73 | | | this associated type binding should be moved after the generic parameters
74 | | this associated type binding should be moved after the generic parameters
75 | this associated type binding should be moved after the generic parameters
77 error: lifetime arguments must be declared prior to type arguments
78 --> $DIR/suggest-move-types.rs:34:46
80 LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
83 error: lifetime arguments must be declared prior to type arguments
84 --> $DIR/suggest-move-types.rs:48:80
86 LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
89 error: lifetime arguments must be declared prior to type arguments
90 --> $DIR/suggest-move-types.rs:64:56
92 LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
95 error: lifetime arguments must be declared prior to type arguments
96 --> $DIR/suggest-move-types.rs:80:56
98 LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
101 error: aborting due to 12 previous errors