mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 12:33:14 +00:00
16 lines
658 B
Rust
16 lines
658 B
Rust
![]() |
struct ABig👩👩👧👧Family; //~ ERROR identifiers cannot contain emojis
|
|||
|
struct 👀; //~ ERROR identifiers cannot contain emojis
|
|||
|
impl 👀 {
|
|||
|
fn full_of_✨() -> 👀 { //~ ERROR identifiers cannot contain emojis
|
|||
|
👀
|
|||
|
}
|
|||
|
}
|
|||
|
fn i_like_to_😅_a_lot() -> 👀 { //~ ERROR identifiers cannot contain emojis
|
|||
|
👀::full_of✨() //~ ERROR no function or associated item named `full_of✨` found for struct `👀`
|
|||
|
//~^ ERROR identifiers cannot contain emojis
|
|||
|
}
|
|||
|
fn main() {
|
|||
|
let _ = i_like_to_😄_a_lot(); //~ ERROR cannot find function `i_like_to_😄_a_lot` in this scope
|
|||
|
//~^ ERROR identifiers cannot contain emojis
|
|||
|
}
|