--> $DIR/recover-missing-semi.rs:2:20
|
LL | let _: usize = ()
- | ^^ expected usize, found ()
- |
- = note: expected type `usize`
- found type `()`
+ | ----- ^^ expected `usize`, found `()`
+ | |
+ | expected due to this
error[E0308]: mismatched types
--> $DIR/recover-missing-semi.rs:9:20
|
LL | let _: usize = ()
- | ^^ expected usize, found ()
- |
- = note: expected type `usize`
- found type `()`
+ | ----- ^^ expected `usize`, found `()`
+ | |
+ | expected due to this
error: aborting due to 4 previous errors