2023-09-21 19:14:58 -05:00
|
|
|
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>`
|
|
|
|
|
2023-09-23 00:41:01 -05:00
|
|
|
error: aborting due to previous error
|
2023-09-21 19:14:58 -05:00
|
|
|
|