forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissue-104088.stderr
35 lines (30 loc) · 940 Bytes
/
issue-104088.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error: expected identifier, found `1x`
--> $DIR/issue-104088.rs:6:9
|
LL | let 1x = 123;
| ^^ expected identifier
|
= help: identifiers cannot start with a number
error: expected identifier, found `2x`
--> $DIR/issue-104088.rs:11:9
|
LL | let 2x: i32 = 123;
| ^^ expected identifier
|
= help: identifiers cannot start with a number
error: expected identifier, found `23name`
--> $DIR/issue-104088.rs:22:9
|
LL | let 23name = 123;
| ^^^^^^ expected identifier
|
= help: identifiers cannot start with a number
error[E0308]: mismatched types
--> $DIR/issue-104088.rs:16:12
|
LL | if let 2e1 = 123 {
| ^^^ --- this expression has type `{integer}`
| |
| expected integer, found floating-point number
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0308`.