]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/emoji-identifiers.stderr
Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree
[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: `ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily`
22   --> $DIR/emoji-identifiers.rs:1:8
23    |
24 LL | struct ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily;
25    |        ^^^^^^^^^^^^^^^^^^
26
27 error: identifiers cannot contain emoji: `๐Ÿ‘€`
28   --> $DIR/emoji-identifiers.rs:2:8
29    |
30 LL | struct ๐Ÿ‘€;
31    |        ^^
32 LL | impl ๐Ÿ‘€ {
33    |      ^^
34 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
35    |                        ^^
36 LL |         ๐Ÿ‘€
37    |         ^^
38 ...
39 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
40    |                            ^^
41 LL |     ๐Ÿ‘€::full_ofโœจ()
42    |     ^^
43
44 error: identifiers cannot contain emoji: `full_of_โœจ`
45   --> $DIR/emoji-identifiers.rs:4:8
46    |
47 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
48    |        ^^^^^^^^^^
49
50 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜…_a_lot`
51   --> $DIR/emoji-identifiers.rs:8:4
52    |
53 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
54    |    ^^^^^^^^^^^^^^^^^^
55
56 error: identifiers cannot contain emoji: `full_ofโœจ`
57   --> $DIR/emoji-identifiers.rs:9:8
58    |
59 LL |     ๐Ÿ‘€::full_ofโœจ()
60    |         ^^^^^^^^^
61
62 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜„_a_lot`
63   --> $DIR/emoji-identifiers.rs:13:13
64    |
65 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
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`.