diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-11-23 20:32:35 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-23 20:32:35 +0530 |
| commit | bd91c94a5d744e0f93aff073bdbb69d0f4e8d9f6 (patch) | |
| tree | 7796e86984ee33de8899878a240592e49a22fe15 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 4e0d0d757e2f1b61ec809420b006545a9f8974c0 (diff) | |
| parent | 9decfff6f87d3e5760fd61375c3d27fa45a83e52 (diff) | |
| download | rust-bd91c94a5d744e0f93aff073bdbb69d0f4e8d9f6.tar.gz rust-bd91c94a5d744e0f93aff073bdbb69d0f4e8d9f6.zip | |
Rollup merge of #104269 - compiler-errors:hang-in-where-clause-sugg, r=lcnr
Fix hang in where-clause suggestion with `predicate_can_apply` Using `predicate_may_hold` during error reporting causes an evaluation overflow, which (because we use `evaluate_obligation_no_overflow`) then causes the predicate to need to be re-evaluated locally, which results in a hang. ... but since the "add a where clause" suggestion is best-effort, just throw any overflow errors. No need for 100% accuracy. r? `@lcnr` who has been thinking about overflows... Let me know if you want more context about this issue, and as always, feel free to reassign. Fixes #104225
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
