1 error: invalid variable declaration
2 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:2:5
7 help: write `let` instead of `auto` to introduce a new variable
12 error: invalid variable declaration
13 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:4:5
18 help: write `let` instead of `auto` to introduce a new variable
23 error: invalid variable declaration
24 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:8:5
29 help: write `let` instead of `var` to introduce a new variable
34 error: invalid variable declaration
35 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:10:5
40 help: write `let` instead of `var` to introduce a new variable
45 error: invalid variable declaration
46 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:14:5
49 | ^^^ help: missing keyword: `let mut`
51 error: invalid variable declaration
52 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:16:5
55 | ^^^ help: missing keyword: `let mut`
57 error[E0308]: mismatched types
58 --> $DIR/issue-65257-invalid-var-decl-recovery.rs:20:33
60 LL | let _recovery_witness: () = 0;
61 | -- ^ expected `()`, found integer
63 | expected due to this
65 error: aborting due to 7 previous errors
67 For more information about this error, try `rustc --explain E0308`.