mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
102b5789b2
Fixes #80691 When we evaluate a trait predicate, we convert an `EvaluatedToOk` result to `EvaluatedToOkModuloRegions` if we erased any regions. We cache the result under a region-erased 'freshened' predicate, so `EvaluatedToOk` may not be correct for other predicates that have the same cache key.