fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: unexpected lifetime `'a` in pattern 2 --> $DIR/lifetime-in-pattern-recover.rs:2:10 3 | 4LL | let &'a x = &0; 5 | ^^ help: remove the lifetime 6 7error: unexpected lifetime `'a` in pattern 8 --> $DIR/lifetime-in-pattern-recover.rs:3:10 9 | 10LL | let &'a mut y = &mut 0; 11 | ^^ help: remove the lifetime 12 13error[E0308]: mismatched types 14 --> $DIR/lifetime-in-pattern-recover.rs:5:33 15 | 16LL | let _recovery_witness: () = 0; 17 | -- ^ expected `()`, found integer 18 | | 19 | expected due to this 20 21error: aborting due to 3 previous errors 22 23For more information about this error, try `rustc --explain E0308`.