summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/recover-tuple.stderr
blob: 88891b54bb20c26e2a21cc1e3ebe266790c96e6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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`
   |            |
   |            expected due to this

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.