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