rust/src/test/ui/parser/recover-tuple.stderr

16 lines
459 B
Plaintext
Raw Normal View History

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 = "";
| ^^ expected `usize`, found `&str`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.