mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
328 B
Plaintext
9 lines
328 B
Plaintext
error: lifetime parameters must be declared prior to type and const parameters
|
|
--> $DIR/issue-59508-1.rs:10:25
|
|
|
|
|
LL | pub fn do_things<T, 'a, 'b: 'a>() {
|
|
| ----^^--^^----- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b: 'a, T>`
|
|
|
|
error: aborting due to 1 previous error
|
|
|