Skip to content

Commit 764008e

Browse files
committed
MERGEME (maybe). Fix in_scope call to pass source_info along as well.
1 parent d5eae1c commit 764008e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/build/block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
2525
if let Some(de) = opt_destruction_extent {
2626
self.push_scope(de);
2727
}
28-
let block_and = self.in_scope(extent, block, move |this| {
28+
let block_and = self.in_scope((extent, source_info), block, move |this| {
2929
// This convoluted structure is to avoid using recursion as we walk down a list
3030
// of statements. Basically, the structure we get back is something like:
3131
//

0 commit comments

Comments
 (0)