rust/tests/ui/generics/issue-83556.stderr

9 lines
286 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 1 previous error