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