]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/emoji-identifiers.stderr
a69a9c542d6e9f49e7437cf6d673155643d82074
[rust.git] / src / test / ui / parser / emoji-identifiers.stderr
1 error: unknown start of token: \u{2796}
2   --> $DIR/emoji-identifiers.rs:13:33
3    |
4 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
5    |                                  ^^
6    |
7 help: Unicode character 'โž–' (Heavy Minus Sign) looks like '-' (Minus/Hyphen), but it is not
8    |
9 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() - 4;
10    |                                  ~
11
12 error[E0425]: cannot find function `i_like_to_๐Ÿ˜„_a_lot` in this scope
13   --> $DIR/emoji-identifiers.rs:13:13
14    |
15 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
16    | ----------------------------- similarly named function `i_like_to_๐Ÿ˜…_a_lot` defined here
17 ...
18 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
19    |             ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `i_like_to_๐Ÿ˜…_a_lot`
20
21 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜„_a_lot`
22   --> $DIR/emoji-identifiers.rs:13:13
23    |
24 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
25    |             ^^^^^^^^^^^^^^^^^^
26
27 error: identifiers cannot contain emoji: `full_of_โœจ`
28   --> $DIR/emoji-identifiers.rs:4:8
29    |
30 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
31    |        ^^^^^^^^^^
32
33 error: identifiers cannot contain emoji: `full_ofโœจ`
34   --> $DIR/emoji-identifiers.rs:9:8
35    |
36 LL |     ๐Ÿ‘€::full_ofโœจ()
37    |         ^^^^^^^^^
38
39 error: identifiers cannot contain emoji: `๐Ÿ‘€`
40   --> $DIR/emoji-identifiers.rs:2:8
41    |
42 LL | struct ๐Ÿ‘€;
43    |        ^^
44 LL | impl ๐Ÿ‘€ {
45    |      ^^
46 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
47    |                        ^^
48 LL |         ๐Ÿ‘€
49    |         ^^
50 ...
51 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
52    |                            ^^
53 LL |     ๐Ÿ‘€::full_ofโœจ()
54    |     ^^
55
56 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜…_a_lot`
57   --> $DIR/emoji-identifiers.rs:8:4
58    |
59 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
60    |    ^^^^^^^^^^^^^^^^^^
61
62 error: identifiers cannot contain emoji: `ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily`
63   --> $DIR/emoji-identifiers.rs:1:8
64    |
65 LL | struct ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily;
66    |        ^^^^^^^^^^^^^^^^^^
67
68 error[E0599]: no function or associated item named `full_ofโœจ` found for struct `๐Ÿ‘€` in the current scope
69   --> $DIR/emoji-identifiers.rs:9:8
70    |
71 LL | struct ๐Ÿ‘€;
72    | ---------- function or associated item `full_ofโœจ` not found for this
73 ...
74 LL |     ๐Ÿ‘€::full_ofโœจ()
75    |         ^^^^^^^^^
76    |         |
77    |         function or associated item not found in `๐Ÿ‘€`
78    |         help: there is an associated function with a similar name: `full_of_โœจ`
79
80 error: aborting due to 9 previous errors
81
82 Some errors have detailed explanations: E0425, E0599.
83 For more information about an error, try `rustc --explain E0425`.