2019-03-26 19:36:07 -05:00
|
|
|
error: expected expression, found `.`
|
|
|
|
--> $DIR/recover-tuple.rs:3:40
|
|
|
|
|
|
|
|
|
LL | let x: (usize, usize, usize) = (3, .=.);
|
|
|
|
| ^ expected expression
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/recover-tuple.rs:6:20
|
|
|
|
|
|
|
|
|
LL | let y: usize = "";
|
2019-11-18 23:00:24 -06:00
|
|
|
| ----- ^^ expected `usize`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2019-03-26 19:36:07 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|