• Anafabula@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    51
    ·
    1 year ago
    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
    
      • Mikina@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        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