1 error: lifetime parameters must be declared prior to type parameters
2 --> $DIR/lifetime-before-type-params.rs:2:13
4 LL | fn first<T, 'a, 'b>() {}
5 | ----^^--^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b, T>`
7 error: lifetime parameters must be declared prior to type parameters
8 --> $DIR/lifetime-before-type-params.rs:4:18
10 LL | fn second<'a, T, 'b>() {}
11 | --------^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b, T>`
13 error: lifetime parameters must be declared prior to type parameters
14 --> $DIR/lifetime-before-type-params.rs:6:16
16 LL | fn third<T, U, 'a>() {}
17 | -------^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T, U>`
19 error: lifetime parameters must be declared prior to type parameters
20 --> $DIR/lifetime-before-type-params.rs:8:18
22 LL | fn fourth<'a, T, 'b, U, 'c, V>() {}
23 | --------^^-----^^---- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b, 'c, T, U, V>`
25 error: aborting due to 4 previous errors