2021-09-09 17:05:03 +00:00
|
|
|
|
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;
|
|
|
|
|
| ~
|
|
|
|
|
|
2021-12-03 00:20:42 +00:00
|
|
|
|
error: Ferris cannot be used as an identifier
|
|
|
|
|
--> $DIR/emoji-identifiers.rs:17:9
|
|
|
|
|
|
|
|
|
|
|
LL | let 🦀 = 1;
|
|
|
|
|
| ^^ help: try using their name instead: `ferris`
|
|
|
|
|
LL | dbg!(🦀);
|
|
|
|
|
| ^^
|
|
|
|
|
|
2021-09-14 11:39:49 +00:00
|
|
|
|
error: identifiers cannot contain emoji: `ABig👩👩👧👧Family`
|
|
|
|
|
--> $DIR/emoji-identifiers.rs:1:8
|
2021-08-29 08:34:23 +00:00
|
|
|
|
|
|
2021-09-14 11:39:49 +00:00
|
|
|
|
LL | struct ABig👩👩👧👧Family;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2021-08-29 08:34:23 +00:00
|
|
|
|
|
2021-09-10 07:30:58 +00:00
|
|
|
|
error: identifiers cannot contain emoji: `👀`
|
2021-08-29 08:34:23 +00:00
|
|
|
|
--> $DIR/emoji-identifiers.rs:2:8
|
|
|
|
|
|
|
|
|
|
|
LL | struct 👀;
|
|
|
|
|
| ^^
|
|
|
|
|
LL | impl 👀 {
|
|
|
|
|
| ^^
|
|
|
|
|
LL | fn full_of_✨() -> 👀 {
|
|
|
|
|
| ^^
|
|
|
|
|
LL | 👀
|
|
|
|
|
| ^^
|
|
|
|
|
...
|
|
|
|
|
LL | fn i_like_to_😅_a_lot() -> 👀 {
|
|
|
|
|
| ^^
|
|
|
|
|
LL | 👀::full_of✨()
|
|
|
|
|
| ^^
|
|
|
|
|
|
2021-09-14 11:39:49 +00:00
|
|
|
|
error: identifiers cannot contain emoji: `full_of_✨`
|
|
|
|
|
--> $DIR/emoji-identifiers.rs:4:8
|
|
|
|
|
|
|
|
|
|
|
LL | fn full_of_✨() -> 👀 {
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2021-09-10 07:30:58 +00:00
|
|
|
|
error: identifiers cannot contain emoji: `i_like_to_😅_a_lot`
|
2021-08-29 08:34:23 +00:00
|
|
|
|
--> $DIR/emoji-identifiers.rs:8:4
|
|
|
|
|
|
|
|
|
|
|
LL | fn i_like_to_😅_a_lot() -> 👀 {
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2021-09-14 11:39:49 +00:00
|
|
|
|
error: identifiers cannot contain emoji: `full_of✨`
|
|
|
|
|
--> $DIR/emoji-identifiers.rs:9:8
|
2021-08-29 08:34:23 +00:00
|
|
|
|
|
|
2021-09-14 11:39:49 +00:00
|
|
|
|
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;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2021-08-29 08:34:23 +00:00
|
|
|
|
|
|
|
|
|
error[E0599]: no function or associated item named `full_of✨` found for struct `👀` in the current scope
|
|
|
|
|
--> $DIR/emoji-identifiers.rs:9:8
|
|
|
|
|
|
|
|
|
|
|
LL | struct 👀;
|
2022-07-01 23:47:26 +00:00
|
|
|
|
| --------- function or associated item `full_of✨` not found for this struct
|
2021-08-29 08:34:23 +00:00
|
|
|
|
...
|
|
|
|
|
LL | 👀::full_of✨()
|
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
| |
|
|
|
|
|
| function or associated item not found in `👀`
|
|
|
|
|
| help: there is an associated function with a similar name: `full_of_✨`
|
|
|
|
|
|
2022-10-05 05:35:34 +00:00
|
|
|
|
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() ➖ 4;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `i_like_to_😅_a_lot`
|
|
|
|
|
|
2021-12-03 00:20:42 +00:00
|
|
|
|
error: aborting due to 10 previous errors
|
2021-08-29 08:34:23 +00:00
|
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0425, E0599.
|
|
|
|
|
For more information about an error, try `rustc --explain E0425`.
|