News for hackers. Stuff that matters.
Re:Rust Moving Towards an IDE-Friendly Compiler with Rust An... by onei on Sunday February 02, 2020 @05:18AM (#22216231)
It depends on the compiler. A naïve parser might reach a syntax error and error out. A more advanced parser will look for a synchronidation point that it can move to and carry on. If the compiler is in a statement, that might be a semicolon, for a function it could be a closing brace. From there it can reset to some degree and carry on parsing the file.

There are no comments on this comment yet.