3 struct Vec<A = Heap, T>(A, T);
4 //~^ ERROR type parameters with a default must be trailing
6 struct Foo<A, B = Vec<C>, C>(A, B, C);
7 //~^ ERROR type parameters with a default must be trailing
8 //~| ERROR type parameters with a default cannot use forward declared identifiers