]> git.proxmox.com Git - rustc.git/blame_incremental - tests/ui/parser/issues/issue-104088.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / parser / issues / issue-104088.stderr
... / ...
CommitLineData
1error: expected identifier, found `1234test`
2 --> $DIR/issue-104088.rs:1:4
3 |
4LL | fn 1234test() {
5 | ^^^^^^^^ expected identifier
6 |
7help: identifiers cannot start with a number
8 --> $DIR/issue-104088.rs:1:4
9 |
10LL | fn 1234test() {
11 | ^^^^
12
13error: expected identifier, found `23name`
14 --> $DIR/issue-104088.rs:9:9
15 |
16LL | let 23name = 123;
17 | ^^^^^^ expected identifier
18 |
19help: identifiers cannot start with a number
20 --> $DIR/issue-104088.rs:9:9
21 |
22LL | let 23name = 123;
23 | ^^
24
25error: expected identifier, found `2x`
26 --> $DIR/issue-104088.rs:12:9
27 |
28LL | let 2x: i32 = 123;
29 | ^^ expected identifier
30 |
31help: identifiers cannot start with a number
32 --> $DIR/issue-104088.rs:12:9
33 |
34LL | let 2x: i32 = 123;
35 | ^
36
37error: expected identifier, found `1x`
38 --> $DIR/issue-104088.rs:15:9
39 |
40LL | let 1x = 123;
41 | ^^ expected identifier
42 |
43help: identifiers cannot start with a number
44 --> $DIR/issue-104088.rs:15:9
45 |
46LL | let 1x = 123;
47 | ^
48
49error[E0308]: mismatched types
50 --> $DIR/issue-104088.rs:5:12
51 |
52LL | if let 2e1 = 123 {
53 | ^^^ --- this expression has type `{integer}`
54 | |
55 | expected integer, found floating-point number
56
57error: aborting due to 5 previous errors
58
59For more information about this error, try `rustc --explain E0308`.