Files
rust/tests/crashes
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-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-12-25 12:27:17 +00:00
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
2025-12-25 12:27:17 +00:00
2025-09-26 15:37:19 -07:00
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-29 11:04:50 +10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +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-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
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
2025-12-17 21:25:19 +02:00

Documentation on crash tests is at https://rustc-dev-guide.rust-lang.org/tests/compiletest#crash-tests.

Alternatively, you can build the documentation from this repository:

mdbook serve --open src/doc/rustc-dev-guide

The documentation will then be available at http://localhost:3000/tests/compiletest.html#crash-tests.