fn test(&'a str) { //~^ ERROR unexpected lifetime `'a` in pattern } fn main() { }