mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-22 04:27:33 +00:00
![]() Fix ICE in tokenstream with contracts from parser recovery Fixes rust-lang/rust#140683 After two times of parsing error, the `recover_stmt_` constructs an error ast, then when we expand macors, the invalid tokenstream triggered ICE because of mismatched delims. Expected `{` and get other tokens is an obvious error message, too much effort on recovery may introduce noise. r? ```@nnethercote``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |