error: unknown start of token: \u{37e}
--> src/main.rs:2:30
|
2 | println!("Hello, world!");
| ^
|
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
|
2 | println!("Hello, world!");
| ~
error: could not compile `playground` (bin "playground") due to previous error
I would rather see it just added to the standard definition as a valid character, so the compilation passes without issues. It would make lives of Greek programmers a little bit easier!
But on a second though, it would probably make the lives of compiler programmers a living hell. Having to deal with two symbols for one thing sounds really annoying :D
error: unknown start of token: \u{37e} --> src/main.rs:2:30 | 2 | println!("Hello, world!"); | ^ | help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not | 2 | println!("Hello, world!"); | ~ error: could not compile `playground` (bin "playground") due to previous error
That’s a well designed compiler.
I would rather see it just added to the standard definition as a valid character, so the compilation passes without issues. It would make lives of Greek programmers a little bit easier!
But on a second though, it would probably make the lives of compiler programmers a living hell. Having to deal with two symbols for one thing sounds really annoying :D
Pretty sure Cargo can automatically fix the error.
Common Rust W