Keep track of the start of the argument block of a closure
This commit is contained in:
parent
1343ffd564
commit
749c816fae
1 changed files with 1 additions and 0 deletions
|
|
@ -335,6 +335,7 @@ pub(crate) fn rewrite_last_closure(
|
|||
ref fn_decl,
|
||||
ref body,
|
||||
fn_decl_span: _,
|
||||
fn_arg_span: _,
|
||||
} = **closure;
|
||||
let body = match body.kind {
|
||||
ast::ExprKind::Block(ref block, _)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue