1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
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;
| ~
error: identifiers cannot contain emoji: `ABig๐ฉ๐ฉ๐ง๐งFamily`
--> $DIR/emoji-identifiers.rs:1:8
|
LL | struct ABig๐ฉ๐ฉ๐ง๐งFamily;
| ^^^^^^^^^^^^^^^^^^
error: identifiers cannot contain emoji: `๐`
--> $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โจ()
| ^^
error: identifiers cannot contain emoji: `full_of_โจ`
--> $DIR/emoji-identifiers.rs:4:8
|
LL | fn full_of_โจ() -> ๐ {
| ^^^^^^^^^^
error: identifiers cannot contain emoji: `i_like_to_๐
_a_lot`
--> $DIR/emoji-identifiers.rs:8:4
|
LL | fn i_like_to_๐
_a_lot() -> ๐ {
| ^^^^^^^^^^^^^^^^^^
error: identifiers cannot contain emoji: `full_ofโจ`
--> $DIR/emoji-identifiers.rs:9:8
|
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;
| ^^^^^^^^^^^^^^^^^^
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!(๐ฆ);
| ^^
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 ๐;
| --------- function or associated item `full_ofโจ` not found for this struct
...
LL | ๐::full_ofโจ()
| ^^^^^^^^^ function or associated item not found in `๐`
|
note: if you're trying to build a new `๐`, consider using `๐::full_of_โจ` which returns `๐`
--> $DIR/emoji-identifiers.rs:4:5
|
LL | fn full_of_โจ() -> ๐ {
| ^^^^^^^^^^^^^^^^^^^^^
help: there is an associated function `full_of_โจ` with a similar name
|
LL | ๐::full_of_โจ()
| ~~~~~~~~~~
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`
error: aborting due to 10 previous errors
Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
|