you are viewing a single comment's thread
view the rest of the comments
[–] 27 points 1 year ago* (5 children)

My IDE says: '(', '+', '-', '.', ';', <operator>, '[' or '}' expected, got ';'
But the rust compiler explains

error: unknown start of token: \u{37e}  
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not```   
what a killjoy.
  • source
  • hideshow 5 child comments
  • [–] 18 points 1 year ago (4 children)

    But the rust compiler explains

    If this is true then rust deserves all the praise it gets

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 year ago (1 child)

    This is pretty cool. But my question is if the compiler knows it’s basically the same thing visually, why doesn’t it treat it the same way as far as syntax and just make them functionally equivalent;

  • source
  • parent
  • hideshow 1 child comment