error: generic parameters with a default must be trailing --> $DIR/wrong-order.rs:1:10 | LL | struct A { | ^ error: generic parameters with a default must be trailing --> $DIR/wrong-order.rs:6:18 | LL | struct Foo(T); | ^ error: aborting due to 2 previous errors