Skip to content

Rust doesn't support Emojis for variable names #18982

Closed
@kparaju

Description

@kparaju

Rust currently doesn't support emojis for variable names. Is there any plans to include this feature?

➜  servo git:(mime-sniffing-one-sniffertask) ✗ ./mach build                                 
Compiling net v0.0.1 (file:///Users/kparaju/Documents/repos/servo)
resource_task.rs:224:13: 224:14 error: unknown start of token: \U0001f443
resource_task.rs:224         let 👃 = sniffer_task::new_sniffer_task();
                                 ^
Could not compile `net`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions