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