fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: unexpected lifetime `'a` in pattern 2 --> $DIR/lifetime-in-pattern.rs:1:10 3 | 4LL | fn test(&'a str) { 5 | ^^ help: remove the lifetime 6 7error: expected one of `:`, `@`, or `|`, found `)` 8 --> $DIR/lifetime-in-pattern.rs:1:16 9 | 10LL | fn test(&'a str) { 11 | ^ expected one of `:`, `@`, or `|` 12 13error: aborting due to 2 previous errors 14