2021-09-10 02:30:58 -05:00
|
|
|
|
struct ABig👩👩👧👧Family; //~ ERROR identifiers cannot contain emoji
|
|
|
|
|
struct 👀; //~ ERROR identifiers cannot contain emoji
|
2021-08-29 03:34:23 -05:00
|
|
|
|
impl 👀 {
|
2021-09-10 02:30:58 -05:00
|
|
|
|
fn full_of_✨() -> 👀 { //~ ERROR identifiers cannot contain emoji
|
2021-08-29 03:34:23 -05:00
|
|
|
|
👀
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-09-10 02:30:58 -05:00
|
|
|
|
fn i_like_to_😅_a_lot() -> 👀 { //~ ERROR identifiers cannot contain emoji
|
2021-08-29 03:34:23 -05:00
|
|
|
|
👀::full_of✨() //~ ERROR no function or associated item named `full_of✨` found for struct `👀`
|
2021-09-10 02:30:58 -05:00
|
|
|
|
//~^ ERROR identifiers cannot contain emoji
|
2021-08-29 03:34:23 -05:00
|
|
|
|
}
|
|
|
|
|
fn main() {
|
2021-09-09 12:05:03 -05:00
|
|
|
|
let _ = i_like_to_😄_a_lot() ➖ 4; //~ ERROR cannot find function `i_like_to_😄_a_lot` in this scope
|
2021-09-10 02:30:58 -05:00
|
|
|
|
//~^ ERROR identifiers cannot contain emoji
|
2021-09-09 12:05:03 -05:00
|
|
|
|
//~| ERROR unknown start of token: \u{2796}
|
2021-12-02 18:20:42 -06:00
|
|
|
|
|
|
|
|
|
let 🦀 = 1;//~ ERROR Ferris cannot be used as an identifier
|
|
|
|
|
dbg!(🦀);
|
2021-08-29 03:34:23 -05:00
|
|
|
|
}
|