]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/lifetime-in-pattern.rs
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / 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 }