rust/compiler
Matthias Krüger 77de5f0754
Rollup merge of #110618 - compiler-errors:eval-ctxt-tainted, r=BoxyUwU
Track if EvalCtxt has been tainted, make sure it can't be used to make query responses after

Just some additional protection against missing probes or strange candidate assembly behavior in the new solver.

For background, we don't ever want to call `evaluate_added_goals_and_make_canonical_response` if a previous call to `try_evaluate_added_goals` has bailed with `NoSolution`, since our nested goals are left in an undefined state at that point. This most commonly suggests a missing `EvalCtxt::probe`, but could also signify some other shenanigans like dropping a `QueryResult` on the floor without properly `?`'ing it.

r? `@lcnr`
2023-04-21 06:44:31 +02:00
..
2023-04-09 22:29:56 +02:00
2023-04-17 16:09:18 -04:00
2023-04-17 16:09:18 -04:00
2023-04-09 23:22:14 +02:00
2023-04-17 16:09:18 -04:00
2023-04-10 17:24:23 +09:00
2023-04-10 22:02:52 +02:00
2023-04-20 12:00:41 -03:00