diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/parser/emoji-identifiers.stderr | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/test/ui/parser/emoji-identifiers.stderr b/src/test/ui/parser/emoji-identifiers.stderr index a69a9c542d6..5f9263c4c13 100644 --- a/src/test/ui/parser/emoji-identifiers.stderr +++ b/src/test/ui/parser/emoji-identifiers.stderr @@ -18,23 +18,11 @@ LL | fn i_like_to_๐ _a_lot() -> ๐ { LL | let _ = i_like_to_๐_a_lot() โ 4; | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `i_like_to_๐ _a_lot` -error: identifiers cannot contain emoji: `i_like_to_๐_a_lot` - --> $DIR/emoji-identifiers.rs:13:13 - | -LL | let _ = i_like_to_๐_a_lot() โ 4; - | ^^^^^^^^^^^^^^^^^^ - -error: identifiers cannot contain emoji: `full_of_โจ` - --> $DIR/emoji-identifiers.rs:4:8 - | -LL | fn full_of_โจ() -> ๐ { - | ^^^^^^^^^^ - -error: identifiers cannot contain emoji: `full_ofโจ` - --> $DIR/emoji-identifiers.rs:9:8 +error: identifiers cannot contain emoji: `ABig๐ฉ๐ฉ๐ง๐งFamily` + --> $DIR/emoji-identifiers.rs:1:8 | -LL | ๐::full_ofโจ() - | ^^^^^^^^^ +LL | struct ABig๐ฉ๐ฉ๐ง๐งFamily; + | ^^^^^^^^^^^^^^^^^^ error: identifiers cannot contain emoji: `๐` --> $DIR/emoji-identifiers.rs:2:8 @@ -53,17 +41,29 @@ LL | fn i_like_to_๐ _a_lot() -> ๐ { LL | ๐::full_ofโจ() | ^^ +error: identifiers cannot contain emoji: `full_of_โจ` + --> $DIR/emoji-identifiers.rs:4:8 + | +LL | fn full_of_โจ() -> ๐ { + | ^^^^^^^^^^ + error: identifiers cannot contain emoji: `i_like_to_๐ _a_lot` --> $DIR/emoji-identifiers.rs:8:4 | LL | fn i_like_to_๐ _a_lot() -> ๐ { | ^^^^^^^^^^^^^^^^^^ -error: identifiers cannot contain emoji: `ABig๐ฉ๐ฉ๐ง๐งFamily` - --> $DIR/emoji-identifiers.rs:1:8 +error: identifiers cannot contain emoji: `full_ofโจ` + --> $DIR/emoji-identifiers.rs:9:8 | -LL | struct ABig๐ฉ๐ฉ๐ง๐งFamily; - | ^^^^^^^^^^^^^^^^^^ +LL | ๐::full_ofโจ() + | ^^^^^^^^^ + +error: identifiers cannot contain emoji: `i_like_to_๐_a_lot` + --> $DIR/emoji-identifiers.rs:13:13 + | +LL | let _ = i_like_to_๐_a_lot() โ 4; + | ^^^^^^^^^^^^^^^^^^ error[E0599]: no function or associated item named `full_ofโจ` found for struct `๐` in the current scope --> $DIR/emoji-identifiers.rs:9:8 |
