]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/emoji-identifiers.stderr
Rollup merge of #91699 - jsha:webkit-appearance-search-input, r=GuillaumeGomez
[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: Ferris cannot be used as an identifier
22   --> $DIR/emoji-identifiers.rs:17:9
23    |
24 LL |     let ๐Ÿฆ€ = 1;
25    |         ^^ help: try using their name instead: `ferris`
26 LL |     dbg!(๐Ÿฆ€);
27    |          ^^
28
29 error: identifiers cannot contain emoji: `ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily`
30   --> $DIR/emoji-identifiers.rs:1:8
31    |
32 LL | struct ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily;
33    |        ^^^^^^^^^^^^^^^^^^
34
35 error: identifiers cannot contain emoji: `๐Ÿ‘€`
36   --> $DIR/emoji-identifiers.rs:2:8
37    |
38 LL | struct ๐Ÿ‘€;
39    |        ^^
40 LL | impl ๐Ÿ‘€ {
41    |      ^^
42 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
43    |                        ^^
44 LL |         ๐Ÿ‘€
45    |         ^^
46 ...
47 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
48    |                            ^^
49 LL |     ๐Ÿ‘€::full_ofโœจ()
50    |     ^^
51
52 error: identifiers cannot contain emoji: `full_of_โœจ`
53   --> $DIR/emoji-identifiers.rs:4:8
54    |
55 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
56    |        ^^^^^^^^^^
57
58 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜…_a_lot`
59   --> $DIR/emoji-identifiers.rs:8:4
60    |
61 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
62    |    ^^^^^^^^^^^^^^^^^^
63
64 error: identifiers cannot contain emoji: `full_ofโœจ`
65   --> $DIR/emoji-identifiers.rs:9:8
66    |
67 LL |     ๐Ÿ‘€::full_ofโœจ()
68    |         ^^^^^^^^^
69
70 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜„_a_lot`
71   --> $DIR/emoji-identifiers.rs:13:13
72    |
73 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
74    |             ^^^^^^^^^^^^^^^^^^
75
76 error[E0599]: no function or associated item named `full_ofโœจ` found for struct `๐Ÿ‘€` in the current scope
77   --> $DIR/emoji-identifiers.rs:9:8
78    |
79 LL | struct ๐Ÿ‘€;
80    | ---------- function or associated item `full_ofโœจ` not found for this
81 ...
82 LL |     ๐Ÿ‘€::full_ofโœจ()
83    |         ^^^^^^^^^
84    |         |
85    |         function or associated item not found in `๐Ÿ‘€`
86    |         help: there is an associated function with a similar name: `full_of_โœจ`
87
88 error: aborting due to 10 previous errors
89
90 Some errors have detailed explanations: E0425, E0599.
91 For more information about an error, try `rustc --explain E0425`.