blob: fa62a39f2416ca91d6724e9d47b38d3cdf7032f5 (
plain)
1
2
3
4
5
6
7
8
|
error: lifetime parameters must be declared prior to type parameters
--> $DIR/issue-14303-struct.rs:1:17
|
LL | struct X<'a, T, 'b> {
| --------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b, T>`
error: aborting due to previous error
|