rust/src/libsyntax/parse
Esteban Küber 053a09529a Reduce ammount of errors given unclosed delimiter
When in a file with a non-terminated item, catch the error and consume
the block instead of trying to recover it more granularly in order to
reduce the amount of unrelated errors that would be fixed after adding
the missing closing brace. Also point out the possible location of the
missing closing brace.
2019-10-30 12:05:17 -07:00
..
lexer Reduce ammount of errors given unclosed delimiter 2019-10-30 12:05:17 -07:00
parser Reduce ammount of errors given unclosed delimiter 2019-10-30 12:05:17 -07:00
classify.rs Rename Expr.node to Expr.kind 2019-09-26 18:21:09 +01:00
literal.rs Change Lit::tokens() to Lit::token_tree(). 2019-10-18 13:25:17 +11:00
mod.rs Reduce ammount of errors given unclosed delimiter 2019-10-30 12:05:17 -07:00
parser.rs Reduce ammount of errors given unclosed delimiter 2019-10-30 12:05:17 -07:00
tests.rs Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
token.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
unescape_error_reporting.rs Fix issue #64732 2019-09-25 20:42:59 -04:00