1 error: unexpected lifetime `'a` in pattern
2 --> $DIR/lifetime-in-pattern-recover.rs:2:10
5 | ^^ help: remove the lifetime
7 error: unexpected lifetime `'a` in pattern
8 --> $DIR/lifetime-in-pattern-recover.rs:3:10
10 LL | let &'a mut y = &mut 0;
11 | ^^ help: remove the lifetime
13 error[E0308]: mismatched types
14 --> $DIR/lifetime-in-pattern-recover.rs:5:33
16 LL | let _recovery_witness: () = 0;
17 | -- ^ expected `()`, found integer
19 | expected due to this
21 error: aborting due to 3 previous errors
23 For more information about this error, try `rustc --explain E0308`.