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