Files
rust/compiler
Dylan DPC bd91c94a5d 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
2022-11-23 20:32:35 +05:30
..
2022-11-22 09:04:15 +11:00
2022-10-23 10:09:44 +02:00
2022-11-22 23:12:26 +01:00
2022-09-29 16:49:04 +09:00
2022-10-16 15:10:40 +01:00
2022-11-21 15:24:51 +01:00
2022-10-23 10:09:44 +02:00
2022-11-21 15:24:50 +01:00