LYR-LEX0001
a character that starts no token, or a name beyond ASCII
The source holds a character that begins no token ($, a backtick, a control character), or a word holding letters, digits or marks beyond ASCII. A word beyond ASCII is refused once where it stands and read as the name it would be.
Explanation
A name is written in ASCII: letters, digits and _, not starting with a digit. Characters beyond ASCII may stand in strings, characters and comments, never in a name; a name in another script is refused at every place it is written, and nothing else follows from it. A character that opens no token at all is refused on its own and skipped.
Spell the name in ASCII, or put the character into a string or a comment.
Wrong
fn main(): void {
let größe = 3;
let _ = größe;
}
Right
fn main(): void {
let size = 3;
let _ = size;
}