diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-05-28 10:28:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-28 10:28:11 -0400 |
| commit | d6b1108cdae286fb680f310bc5929924bdf25965 (patch) | |
| tree | 356b35d66c40a5b81363c3670db5d60b02e41c06 /tests/codegen/autodiff/scalar.rs | |
| parent | 97f6e6e8ba92d760bdb6591794ba905711a54a65 (diff) | |
| parent | adcd0bf5c36ee49acf390f0d75125da4efda35ac (diff) | |
| download | rust-d6b1108cdae286fb680f310bc5929924bdf25965.tar.gz rust-d6b1108cdae286fb680f310bc5929924bdf25965.zip | |
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```
Diffstat (limited to 'tests/codegen/autodiff/scalar.rs')
0 files changed, 0 insertions, 0 deletions
