mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 17:42:47 +00:00
ff8c0ef0e4
MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |