mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 13:37:37 +00:00
![]() more eagerly discard constraints on overflow
We always discard the results of overflowing goals inside of the trait solver. We previously did so when instantiating the response in `evaluate_goal`. Canonicalizing results only to later discard them is also inefficient 🤷
It's simpler and nicer to debug to eagerly discard constraints inside of the query itself.
r? ``@compiler-errors``
|
||
---|---|---|
.. | ||
relate | ||
solve | ||
canonicalizer.rs | ||
coherence.rs | ||
delegate.rs | ||
lib.rs | ||
relate.rs | ||
resolve.rs |