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