1 error: expected `;`, found `keyword `let``
2 --> $DIR/recover-missing-semi.rs:2:22
10 error: expected `;`, found `keyword `return``
11 --> $DIR/recover-missing-semi.rs:9:22
13 LL | let _: usize = ()
14 | ^ help: add `;` here
17 | ------ unexpected token
19 error[E0308]: mismatched types
20 --> $DIR/recover-missing-semi.rs:2:20
22 LL | let _: usize = ()
23 | ^^ expected usize, found ()
25 error[E0308]: mismatched types
26 --> $DIR/recover-missing-semi.rs:9:20
28 LL | let _: usize = ()
29 | ^^ expected usize, found ()
31 error: aborting due to 4 previous errors
33 For more information about this error, try `rustc --explain E0308`.