Files
rust/tests/ui/impl-trait
Jacob Pratt 1f0923d385 Rollup merge of #160856 - adwinwhite:param-env-norm-fail-with-err, r=lcnr
Replace infers and non-rigid aliases with `Ty/Const::Error` if param env normalization fails

Fixes rust-lang/rust#160196
Fixes rust-lang/rust#148630

Previously we use unnormalized param env if we fail to normalize it. This causes problem for places which expect normalized param env, like in lexical region solving.

I also sneak in a one-line change that we resolve regions with normalized param env in param env normalization now.
This fixes ICEs in `polkadot` and `zerocopy` which had non-rigid const aliases in type outlive env before. I can split it into another PR if that's preferred.

r? lcnr
2026-08-13 03:26:28 -04:00
..
…
2026-07-29 17:52:50 +02:00
2026-06-08 12:34:45 +02:00
2026-06-01 14:13:08 +02:00
2026-06-01 14:13:08 +02:00
2025-06-30 11:50:19 +05:00
2026-05-02 21:07:23 +08:00
2025-08-20 11:10:38 +02:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
…