fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: expected `;`, found `keyword `let`` 2 --> $DIR/recover-missing-semi.rs:2:22 3 | 4LL | let _: usize = () 5 | ^ help: add `;` here 6... 7LL | let _ = 3; 8 | --- unexpected token 9 10error: expected `;`, found `keyword `return`` 11 --> $DIR/recover-missing-semi.rs:9:22 12 | 13LL | let _: usize = () 14 | ^ help: add `;` here 15... 16LL | return 3; 17 | ------ unexpected token 18 19error[E0308]: mismatched types 20 --> $DIR/recover-missing-semi.rs:2:20 21 | 22LL | let _: usize = () 23 | ^^ expected usize, found () 24 | 25 = note: expected type `usize` 26 found type `()` 27 28error[E0308]: mismatched types 29 --> $DIR/recover-missing-semi.rs:9:20 30 | 31LL | let _: usize = () 32 | ^^ expected usize, found () 33 | 34 = note: expected type `usize` 35 found type `()` 36 37error: aborting due to 4 previous errors 38 39For more information about this error, try `rustc --explain E0308`.