]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/emoji-identifiers.stderr
Sort `FxHashSet`'s contents before emitting errors for consistent output
[rust.git] / src / test / ui / parser / emoji-identifiers.stderr
index 3b17bb01de9539cbebece54b9d58c3e713ef5ab5..5f9263c4c13e7416f913100f954b1b31fc853a58 100644 (file)
@@ -1,31 +1,30 @@
+error: unknown start of token: \u{2796}
+  --> $DIR/emoji-identifiers.rs:13:33
+   |
+LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
+   |                                  ^^
+   |
+help: Unicode character 'โž–' (Heavy Minus Sign) looks like '-' (Minus/Hyphen), but it is not
+   |
+LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() - 4;
+   |                                  ~
+
 error[E0425]: cannot find function `i_like_to_๐Ÿ˜„_a_lot` in this scope
   --> $DIR/emoji-identifiers.rs:13:13
    |
 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
    | ----------------------------- similarly named function `i_like_to_๐Ÿ˜…_a_lot` defined here
 ...
-LL |     let _ = 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 emojis: `i_like_to_๐Ÿ˜„_a_lot`
-  --> $DIR/emoji-identifiers.rs:13:13
-   |
-LL |     let _ = i_like_to_๐Ÿ˜„_a_lot();
-   |             ^^^^^^^^^^^^^^^^^^
-
-error: identifiers cannot contain emojis: `full_of_โœจ`
-  --> $DIR/emoji-identifiers.rs:4:8
-   |
-LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
-   |        ^^^^^^^^^^
-
-error: identifiers cannot contain emojis: `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 emojis: `๐Ÿ‘€`
+error: identifiers cannot contain emoji: `๐Ÿ‘€`
   --> $DIR/emoji-identifiers.rs:2:8
    |
 LL | struct ๐Ÿ‘€;
@@ -42,17 +41,29 @@ LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
 LL |     ๐Ÿ‘€::full_ofโœจ()
    |     ^^
 
-error: identifiers cannot contain emojis: `i_like_to_๐Ÿ˜…_a_lot`
+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 emojis: `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
@@ -66,7 +77,7 @@ LL |     ๐Ÿ‘€::full_ofโœจ()
    |         function or associated item not found in `๐Ÿ‘€`
    |         help: there is an associated function with a similar name: `full_of_โœจ`
 
-error: aborting due to 8 previous errors
+error: aborting due to 9 previous errors
 
 Some errors have detailed explanations: E0425, E0599.
 For more information about an error, try `rustc --explain E0425`.