rust/src/test/ui/parser/issue-14303-struct.rs

7 lines
128 B
Rust

struct X<'a, T, 'b> {
//~^ ERROR lifetime parameters must be declared prior to type parameters
x: &'a &'b T
}
fn main() {}