2022-09-09 07:28:57 -05:00
|
|
|
error: lifetime parameters must be declared prior to type and const parameters
|
2021-10-23 11:46:47 -05:00
|
|
|
--> $DIR/issue-59508-1.rs:10:25
|
2019-07-28 19:01:57 -05:00
|
|
|
|
|
|
|
|
LL | pub fn do_things<T, 'a, 'b: 'a>() {
|
2020-07-30 17:11:54 -05:00
|
|
|
| ----^^--^^----- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b: 'a, T>`
|
2019-07-28 19:01:57 -05:00
|
|
|
|
2021-08-27 11:04:57 -05:00
|
|
|
error: aborting due to previous error
|
2019-03-30 14:57:04 -05:00
|
|
|
|