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

5 lines
98 B
Rust

struct Foo<T, 'a>(&'a ());
//~^ ERROR lifetime parameters must be declared prior to
fn main() {}