error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:26:26 | LL | struct A> { | ---- ^ generic argument | | | constraint | help: move the constraint after the generic argument | LL | struct A> { | ~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:33:43 | LL | struct Al<'a, T, M: OneWithLifetime> { | ---- ^ ^^ generic arguments | | | constraint | help: move the constraint after the generic arguments | LL | struct Al<'a, T, M: OneWithLifetime<'a, T, A = ()>> { | ~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:40:46 | LL | struct B> { | ---- ---- ---- ^ ^ ^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct B> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:48:71 | LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ---- ---- ---- ^ ^ ^ ^^ ^^ ^^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<'a, 'b, 'c, T, U, V, A = (), B = (), C = ()>> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:57:28 | LL | struct C> { | ^ ---- ---- ---- ^ ^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct C> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:65:53 | LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ^ ^^ ---- ---- ---- ^ ^^ ^ ^^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<'a, 'b, 'c, T, U, V, A = (), B = (), C = ()>> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:74:28 | LL | struct D> { | ^ ---- ---- ^ ---- ^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct D> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: generic arguments must come before the first constraint --> $DIR/suggest-move-types.rs:82:53 | LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ^ ^^ ---- ---- ^ ^^ ---- ^ ^^ generic arguments | | | constraints | help: move the constraints after the generic arguments | LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<'a, 'b, 'c, T, U, V, A = (), B = (), C = ()>> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0747]: type provided when a lifetime was expected --> $DIR/suggest-move-types.rs:33:43 | LL | struct Al<'a, T, M: OneWithLifetime> { | ^ error[E0747]: type provided when a lifetime was expected --> $DIR/suggest-move-types.rs:48:71 | LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ^ error[E0747]: lifetime provided when a type was expected --> $DIR/suggest-move-types.rs:65:56 | LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ^^ | = note: lifetime arguments must be provided before type arguments = help: reorder the arguments: lifetimes, then types: `<'a, 'b, 'c, T, U, V>` error[E0747]: lifetime provided when a type was expected --> $DIR/suggest-move-types.rs:82:56 | LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime> { | ^^ | = note: lifetime arguments must be provided before type arguments = help: reorder the arguments: lifetimes, then types: `<'a, 'b, 'c, T, U, V>` error: aborting due to 12 previous errors For more information about this error, try `rustc --explain E0747`.