rust/src/test/ui/parser/issue-14303-fn-def.rs

5 lines
118 B
Rust

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