mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
284 B
Plaintext
9 lines
284 B
Plaintext
error: lifetime parameters must be declared prior to type and const parameters
|
|
--> $DIR/issue-83556.rs:1:15
|
|
|
|
|
LL | struct Foo<T, 'a>(&'a ());
|
|
| ----^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T>`
|
|
|
|
error: aborting due to previous error
|
|
|