Files
rust/tests
Trevor Gross d6b1108cda Rollup merge of #141670 - chenyukang:yukang-fix-ice-from-contracts, r=nnethercote
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```
2025-05-28 10:28:11 -04:00
..
2025-05-26 00:39:23 +08:00
2025-04-20 11:18:38 +02:00
2025-05-07 16:29:59 +00:00
2025-05-21 07:24:43 +00:00
2025-05-23 12:10:53 +00:00