]> git.proxmox.com Git - rustc.git/blob - tests/ui/parser/issues/issue-104088.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / parser / issues / issue-104088.stderr
1 error: expected identifier, found number literal
2 --> $DIR/issue-104088.rs:6:9
3 |
4 LL | let 1x = 123;
5 | ^^ identifiers cannot start with a number
6
7 error: expected identifier, found number literal
8 --> $DIR/issue-104088.rs:11:9
9 |
10 LL | let 2x: i32 = 123;
11 | ^^ identifiers cannot start with a number
12
13 error: expected identifier, found number literal
14 --> $DIR/issue-104088.rs:22:9
15 |
16 LL | let 23name = 123;
17 | ^^^^^^ identifiers cannot start with a number
18
19 error[E0308]: mismatched types
20 --> $DIR/issue-104088.rs:16:12
21 |
22 LL | if let 2e1 = 123 {
23 | ^^^ --- this expression has type `{integer}`
24 | |
25 | expected integer, found floating-point number
26
27 error: aborting due to 4 previous errors
28
29 For more information about this error, try `rustc --explain E0308`.