1 Generic arguments were not provided in the same order as the corresponding
2 generic parameters are declared.
4 Erroneous code example:
7 struct S<'a, T>(&'a T);
9 type X = S<(), 'static>; // error: the type argument is provided before the
13 The argument order should be changed to match the parameter declaration
14 order, as in the following:
17 struct S<'a, T>(&'a T);
19 type X = S<'static, ()>; // ok