]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lifetime-in-pattern.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / parser / lifetime-in-pattern.rs
1 fn test(&'a str) {
2     //~^ ERROR unexpected lifetime `'a` in pattern
3     //~| ERROR expected one of `:`, `@`, or `|`, found `)`
4 }
5
6 fn main() {
7 }