]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/emoji-identifiers.stderr
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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: Ferris cannot be used as an identifier
13   --> $DIR/emoji-identifiers.rs:17:9
14    |
15 LL |     let ๐Ÿฆ€ = 1;
16    |         ^^ help: try using their name instead: `ferris`
17 LL |     dbg!(๐Ÿฆ€);
18    |          ^^
19
20 error: identifiers cannot contain emoji: `ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily`
21   --> $DIR/emoji-identifiers.rs:1:8
22    |
23 LL | struct ABig๐Ÿ‘ฉ๐Ÿ‘ฉ๐Ÿ‘ง๐Ÿ‘งFamily;
24    |        ^^^^^^^^^^^^^^^^^^
25
26 error: identifiers cannot contain emoji: `๐Ÿ‘€`
27   --> $DIR/emoji-identifiers.rs:2:8
28    |
29 LL | struct ๐Ÿ‘€;
30    |        ^^
31 LL | impl ๐Ÿ‘€ {
32    |      ^^
33 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
34    |                        ^^
35 LL |         ๐Ÿ‘€
36    |         ^^
37 ...
38 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
39    |                            ^^
40 LL |     ๐Ÿ‘€::full_ofโœจ()
41    |     ^^
42
43 error: identifiers cannot contain emoji: `full_of_โœจ`
44   --> $DIR/emoji-identifiers.rs:4:8
45    |
46 LL |     fn full_of_โœจ() -> ๐Ÿ‘€ {
47    |        ^^^^^^^^^^
48
49 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜…_a_lot`
50   --> $DIR/emoji-identifiers.rs:8:4
51    |
52 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
53    |    ^^^^^^^^^^^^^^^^^^
54
55 error: identifiers cannot contain emoji: `full_ofโœจ`
56   --> $DIR/emoji-identifiers.rs:9:8
57    |
58 LL |     ๐Ÿ‘€::full_ofโœจ()
59    |         ^^^^^^^^^
60
61 error: identifiers cannot contain emoji: `i_like_to_๐Ÿ˜„_a_lot`
62   --> $DIR/emoji-identifiers.rs:13:13
63    |
64 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
65    |             ^^^^^^^^^^^^^^^^^^
66
67 error[E0599]: no function or associated item named `full_ofโœจ` found for struct `๐Ÿ‘€` in the current scope
68   --> $DIR/emoji-identifiers.rs:9:8
69    |
70 LL | struct ๐Ÿ‘€;
71    | --------- function or associated item `full_ofโœจ` not found for this struct
72 ...
73 LL |     ๐Ÿ‘€::full_ofโœจ()
74    |         ^^^^^^^^^
75    |         |
76    |         function or associated item not found in `๐Ÿ‘€`
77    |         help: there is an associated function with a similar name: `full_of_โœจ`
78
79 error[E0425]: cannot find function `i_like_to_๐Ÿ˜„_a_lot` in this scope
80   --> $DIR/emoji-identifiers.rs:13:13
81    |
82 LL | fn i_like_to_๐Ÿ˜…_a_lot() -> ๐Ÿ‘€ {
83    | ----------------------------- similarly named function `i_like_to_๐Ÿ˜…_a_lot` defined here
84 ...
85 LL |     let _ = i_like_to_๐Ÿ˜„_a_lot() โž– 4;
86    |             ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `i_like_to_๐Ÿ˜…_a_lot`
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`.