rust/compiler/rustc_trait_selection/src/solve
Guillaume Gomez 7c3cb5688d
Rollup merge of #142126 - compiler-errors:normalize-uv-via-relate, r=BoxyUwU
Treat normalizing consts like normalizing types in deeply normalize

...so that we don't end up putting a top-level normalizes-to goal in the fulfillment context, which ICEs. This basically just models the normalize-const code off of the normalize-ty code above it, which uses an alias-relate goal instead.

Fixes rust-lang/rust#140571

r? lcnr
2025-06-07 22:22:58 +02:00
..
fulfill Don't rerun goals if none of its vars have changed 2025-05-26 10:10:03 +00:00
inspect Rollup merge of #142126 - compiler-errors:normalize-uv-via-relate, r=BoxyUwU 2025-06-07 22:22:58 +02:00
delegate.rs Fast path for subtype and coercion goals 2025-06-02 19:23:20 +00:00
fulfill.rs Tweak fast path trait handling 2025-05-29 11:14:36 +00:00
inspect.rs Fix impl for SolverDelegate 2024-06-18 11:04:01 -04:00
normalize.rs Unify normalization of terms in deeply normalize 2025-06-07 02:35:28 +00:00
select.rs Only instantiate impl args 2025-06-05 21:18:58 +00:00