Conversation

You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
It's incredibly useful, especially for interactive editing. Where you might be in the middle of a refactor and you want to have an understanding of the bits of code that are broken (there might be multiple bits at once).
1
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
The bits where I get frustrated in Rust is where it won't continue on to lifetime analysis if type checking fails. So you might think everything is fine, but suddenly you fix the last error and get a bunch of lifetime issues to sort through.
1
1
Replying to and
Rust doesn't have an explicit cutoff. When encountering "serious enough" errors it would stop at the stage boundary. What it does now is to recover as much as possible from what's encountered and mark it as an Error, so that the following stages ignore it entirely.
1
1
If the parser has a failure inside of a function, for example, the parser will try a couple of common substitution mistakes, and if they don't apply, consume everything until it find a matched closing }. Then that AST node gets marked as recovered so that it doesn't get typechkd.
1
1
Show replies