mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
900e3a7720
Tests for precise-capture through RPIT and TAIT - Tests for https://github.com/rust-lang/rust/issues/155151. These tests succeed under `-Znext-solver`, but incorrectly fail under the old trait solver. --- The bug can be triggered via return-position `impl Trait` on stable, but requires some rather contrived code. When using type-alias `impl Trait`, it's easier to imagine the issue being triggered by real code.