mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00: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. |
||
---|---|---|
.. | ||
thir-flat-const-variant.rs | ||
thir-flat-const-variant.stdout | ||
thir-flat.rs | ||
thir-flat.stdout | ||
thir-tree-match.rs | ||
thir-tree-match.stdout | ||
thir-tree.rs | ||
thir-tree.stdout |