diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-18 17:37:08 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 17:37:08 +0530 |
| commit | ee26abdafba8b75c6df4ac8af849978108f1a290 (patch) | |
| tree | c58e8a92613cf471b11e4e7a785f466528cfd653 /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | f2b213cfc48f9fed3607317e98c93bb946cc209e (diff) | |
| parent | d56ce8e199abec57746286995c7949356e2dfcf2 (diff) | |
| download | rust-ee26abdafba8b75c6df4ac8af849978108f1a290.tar.gz rust-ee26abdafba8b75c6df4ac8af849978108f1a290.zip | |
Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naber
Do not recover when parsing stmt in cfg-eval. `parse_stmt` does recovery on its own. When parsing the statement fails, we always get `Ok(None)` instead of an `Err` variant with the diagnostic that we can emit. To avoid this behaviour, we need to opt-out of recovery for cfg_eval. Fixes https://github.com/rust-lang/rust/issues/105228
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
