Files
rust/tests/crashes
Jonathan Brouwer 8384a31552 Rollup merge of #159958 - amirHdev:fix-rtn-cycle, r=oli-obk
Fix avoid cycle for self referential return type notation

Fixes rust-lang/rust#159892 and rust-lang/rust#133613
we had to preserve and restore shadowed parameters in the impl trait overcapture lint and convert the resolved crash regression into a normal UI test which is applied to this patch
2026-07-31 00:06:34 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-20 18:24:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-20 18:24:17 +02:00
…
2026-07-20 18:24:17 +02:00
…
…
…
…
…
…
2026-07-20 18:24:17 +02:00
2026-07-20 18:24:17 +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.