mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
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
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.