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. |
||
|---|---|---|
| .. | ||
| issue-59352.rs | ||
| issue-75439.rs | ||
| issue_59352.num_to_digit.PreCodegen.after.mir | ||
| issue_75439.foo.MatchBranchSimplification.diff | ||