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 | expected due to this
27 error[E0308]: mismatched types
28 --> $DIR/recover-missing-semi.rs:9:20
30 LL | let _: usize = ()
31 | ----- ^^ expected `usize`, found `()`
33 | expected due to this
35 error: aborting due to 4 previous errors
37 For more information about this error, try `rustc --explain E0308`.