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
..
2025-12-25 12:27:17 +00:00
2026-06-09 13:16:26 +02:00
2025-10-13 15:20:49 +02:00
2026-08-04 18:44:28 +00:00
2026-07-13 10:54:53 +02:00
2025-06-11 15:30:15 +01:00
2026-07-13 10:54:53 +02:00
2025-05-09 12:19:09 +02:00
2026-07-15 11:50:42 -04:00
2025-12-25 12:27:17 +00:00
2025-10-13 15:20:49 +02:00
2026-07-13 10:54:53 +02:00
2025-04-10 09:56:37 +02:00
2025-12-17 20:47:47 +01:00
2025-12-17 20:47:47 +01:00
2025-12-17 20:47:47 +01:00
2025-12-25 12:27:17 +00:00
2025-09-26 15:37:19 -07:00
2025-09-27 14:41:09 +02:00
2026-07-13 10:54:53 +02:00
2025-09-29 11:04:50 +10:00
2025-03-11 12:05:02 +00:00
2025-04-10 09:56:37 +02:00
2026-08-03 21:50:31 +01:00
2026-07-13 10:54:53 +02:00
2025-03-11 12:05:02 +00:00
2025-03-03 23:09:42 +00:00
2025-10-13 15:20:49 +02:00
2025-02-09 10:40:18 +01:00
2025-02-09 10:40:18 +01:00
2025-02-09 10:40:18 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-11 12:05:02 +00:00
2026-04-09 11:36:46 +02:00
2025-03-08 20:13:07 +01:00
2026-07-20 18:24:17 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-12-25 12:27:17 +00:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-10-23 22:15:34 +00:00
2025-10-23 22:15:34 +00:00
2026-03-09 18:51:25 -04:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-28 09:39:21 +00:00
2026-07-20 18:24:17 +02:00
2026-07-20 18:24:17 +02:00
2026-06-28 09:39:21 +00:00
2026-03-09 18:51:25 -04:00
2026-06-28 09:39:21 +00:00
2026-06-28 09:39:21 +00:00
2026-06-28 09:39:21 +00:00
2026-06-28 09:39:21 +00:00
2026-07-20 18:24:17 +02:00
2026-07-20 18:24:17 +02:00
2026-06-28 09:39:21 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-06-27 08:51:24 +00:00
2026-05-02 21:07:24 +08:00
2026-08-05 11:10:07 -07:00
2025-02-19 12:03:40 -08:00
2025-12-17 21:25:19 +02:00