]>
Commit | Line | Data |
---|---|---|
532ac7d7 XL |
1 | error: lifetime parameters must be declared prior to type parameters |
2 | --> $DIR/issue-59508.rs:10:25 | |
3 | | | |
4 | LL | pub fn do_things<T, 'a, 'b: 'a>() { | |
5 | | ----^^--^^----- help: reorder the parameters: lifetimes, then types: `<'a, 'b: 'a, T>` | |
6 | ||
7 | error: aborting due to previous error | |
8 |