]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_build/src/build/scope.rs
Implement lowering of if-let guards to MIR
[rust.git] / compiler / rustc_mir_build / src / build / scope.rs
index 468b3484ca5ea653a19aaa7a73ce8ce4301c8da3..0f38c30818fd572b40790cbc6f83c227c2fb9146 100644 (file)
@@ -1220,6 +1220,7 @@ fn diverge_cleanup(&mut self) -> DropIdx {
                         arm.guard.as_ref(),
                         &fake_borrow_temps,
                         scrutinee_span,
+                        Some(arm.span),
                         Some(arm.scope),
                     );