Why doen't Rust allow to use Special Signs like emoji as identifiers?

e.g.

let 🥰 = 5_i32;
let 🍎 = 2_i32;
assert_eq!(🥰 + 🍎, 7);

Rust's unicode identifier support is based off of the Unicode standard for identifiers, which is roughly speaking "letters" (of any script).

4 Likes