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