1
- error: unknown start of token: \u{1fa90}
2
- --> $DIR/lex-emoji-identifiers.rs:4:15
3
- |
4
- LL | let planet🪐 = "basic emoji";
5
- | ^^
6
-
7
- error: unknown start of token: \u{1f6dc}
8
- --> $DIR/lex-emoji-identifiers.rs:6:17
9
- |
10
- LL | let wireless🛜 = "basic emoji";
11
- | ^^
12
-
13
1
error: unknown start of token: \u{20e3}
14
- --> $DIR/lex-emoji-identifiers.rs:8 :14
2
+ --> $DIR/lex-emoji-identifiers.rs:6 :14
15
3
|
16
4
LL | let key1️⃣ = "keycap sequence";
17
5
| ^
@@ -22,26 +10,38 @@ error: identifiers cannot contain emoji: `arrow↔️`
22
10
LL | let arrow↔️ = "basic emoji";
23
11
| ^^^^^^
24
12
13
+ error: identifiers cannot contain emoji: `planet🪐`
14
+ --> $DIR/lex-emoji-identifiers.rs:3:9
15
+ |
16
+ LL | let planet🪐 = "basic emoji";
17
+ | ^^^^^^^^
18
+
19
+ error: identifiers cannot contain emoji: `wireless🛜`
20
+ --> $DIR/lex-emoji-identifiers.rs:4:9
21
+ |
22
+ LL | let wireless🛜 = "basic emoji";
23
+ | ^^^^^^^^^^
24
+
25
25
error: identifiers cannot contain emoji: `flag🇺🇳`
26
- --> $DIR/lex-emoji-identifiers.rs:10 :9
26
+ --> $DIR/lex-emoji-identifiers.rs:8 :9
27
27
|
28
28
LL | let flag🇺🇳 = "flag sequence";
29
29
| ^^^^^^
30
30
31
31
error: identifiers cannot contain emoji: `wales🏴`
32
- --> $DIR/lex-emoji-identifiers.rs:11 :9
32
+ --> $DIR/lex-emoji-identifiers.rs:9 :9
33
33
|
34
34
LL | let wales🏴 = "tag sequence";
35
35
| ^^^^^^^
36
36
37
37
error: identifiers cannot contain emoji: `folded🙏🏿`
38
- --> $DIR/lex-emoji-identifiers.rs:12 :9
38
+ --> $DIR/lex-emoji-identifiers.rs:10 :9
39
39
|
40
40
LL | let folded🙏🏿 = "modifier sequence";
41
41
| ^^^^^^^^^^
42
42
43
43
warning: identifier contains uncommon Unicode codepoints
44
- --> $DIR/lex-emoji-identifiers.rs:8 :9
44
+ --> $DIR/lex-emoji-identifiers.rs:6 :9
45
45
|
46
46
LL | let key1️⃣ = "keycap sequence";
47
47
| ^^^^
0 commit comments