2022-09-17 03:04:02 -05:00
|
|
|
|
error: unknown start of token: \u{20e3}
|
2023-07-28 19:47:21 -05:00
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:6:14
|
2022-09-17 03:04:02 -05:00
|
|
|
|
|
|
|
|
|
|
LL | let key1️⃣ = "keycap sequence";
|
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
|
error: identifiers cannot contain emoji: `arrow↔️`
|
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:2:9
|
|
|
|
|
|
|
|
|
|
|
LL | let arrow↔️ = "basic emoji";
|
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2023-07-28 19:47:21 -05:00
|
|
|
|
error: identifiers cannot contain emoji: `planet🪐`
|
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:3:9
|
|
|
|
|
|
|
|
|
|
|
LL | let planet🪐 = "basic emoji";
|
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: identifiers cannot contain emoji: `wireless🛜`
|
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:4:9
|
|
|
|
|
|
|
|
|
|
|
LL | let wireless🛜 = "basic emoji";
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2022-09-17 03:04:02 -05:00
|
|
|
|
error: identifiers cannot contain emoji: `flag🇺🇳`
|
2023-07-28 19:47:21 -05:00
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:8:9
|
2022-09-17 03:04:02 -05:00
|
|
|
|
|
|
|
|
|
|
LL | let flag🇺🇳 = "flag sequence";
|
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
|
error: identifiers cannot contain emoji: `wales🏴`
|
2023-07-28 19:47:21 -05:00
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:9:9
|
2022-09-17 03:04:02 -05:00
|
|
|
|
|
|
|
|
|
|
LL | let wales🏴 = "tag sequence";
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: identifiers cannot contain emoji: `folded🙏🏿`
|
2023-07-28 19:47:21 -05:00
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:10:9
|
2022-09-17 03:04:02 -05:00
|
|
|
|
|
|
|
|
|
|
LL | let folded🙏🏿 = "modifier sequence";
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2024-02-09 04:26:30 -06:00
|
|
|
|
warning: identifier contains an uncommon character: '\u{fe0f}'
|
2023-07-28 19:47:21 -05:00
|
|
|
|
--> $DIR/lex-emoji-identifiers.rs:6:9
|
2022-09-17 03:04:02 -05:00
|
|
|
|
|
|
|
|
|
|
LL | let key1️⃣ = "keycap sequence";
|
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
2024-02-09 04:26:30 -06:00
|
|
|
|
= note: this character is included in the Unicode general security profile
|
2022-09-17 03:04:02 -05:00
|
|
|
|
= note: `#[warn(uncommon_codepoints)]` on by default
|
|
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors; 1 warning emitted
|
|
|
|
|
|