Skip to content

Commit 749c816

Browse files
Keep track of the start of the argument block of a closure
1 parent 1343ffd commit 749c816

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/closures.rs

+1
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ pub(crate) fn rewrite_last_closure(
335335
ref fn_decl,
336336
ref body,
337337
fn_decl_span: _,
338+
fn_arg_span: _,
338339
} = **closure;
339340
let body = match body.kind {
340341
ast::ExprKind::Block(ref block, _)

0 commit comments

Comments
 (0)