Skip to content

Commit ab32308

Browse files
committed
bless error messages
1 parent 2d054d0 commit ab32308

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/ui/parser/emoji-identifiers.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ help: Unicode character '➖' (Heavy Minus Sign) looks like '-' (Minus/Hyphen),
99
LL | let _ = i_like_to_😄_a_lot() - 4;
1010
| ~
1111

12-
error: Ferris cannot be used as an identifier
13-
--> $DIR/emoji-identifiers.rs:17:9
14-
|
15-
LL | let 🦀 = 1;
16-
| ^^ help: try using their name instead: `ferris`
17-
LL | dbg!(🦀);
18-
| ^^
19-
2012
error: identifiers cannot contain emoji: `ABig👩👩👧👧Family`
2113
--> $DIR/emoji-identifiers.rs:1:8
2214
|
@@ -64,6 +56,14 @@ error: identifiers cannot contain emoji: `i_like_to_😄_a_lot`
6456
LL | let _ = i_like_to_😄_a_lot() ➖ 4;
6557
| ^^^^^^^^^^^^^^^^^^
6658

59+
error: Ferris cannot be used as an identifier
60+
--> $DIR/emoji-identifiers.rs:17:9
61+
|
62+
LL | let 🦀 = 1;
63+
| ^^ help: try using their name instead: `ferris`
64+
LL | dbg!(🦀);
65+
| ^^
66+
6767
error[E0599]: no function or associated item named `full_of✨` found for struct `👀` in the current scope
6868
--> $DIR/emoji-identifiers.rs:9:8
6969
|

0 commit comments

Comments
 (0)