Files
rust/tests/ui/typeck
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-13 10:54:53 +02:00
2026-06-17 06:16:54 +02:00
2026-06-17 06:16:54 +02:00
2026-07-18 18:57:06 +02:00
2026-07-18 18:57:06 +02:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-17 14:53:14 +00:00
2026-02-17 16:51:44 +00:00
2025-12-16 02:10:08 +09:00
2026-06-19 16:50:52 +02:00
2026-06-19 16:50:52 +02:00