mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
d437a111f5
- Make temporaries in if-let guards be the same variable in MIR when the guard is duplicated due to or-patterns. - Change the "destruction scope" for match arms to be the arm scope rather than the arm body scope. - Add tests.