about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSarthak Singh <ss269@uw.edu>2022-11-09 20:39:28 +0530
committerSarthak Singh <ss269@uw.edu>2022-11-28 14:09:00 +0530
commit749c816faec774e7e7cae8ebad01d7ca0464b541 (patch)
tree2a8cc9b8328f007e4179c34591fb717a74f80a7b /src
parent1343ffd564fbaed96e800a125e3d2b43de09beea (diff)
downloadrust-749c816faec774e7e7cae8ebad01d7ca0464b541.tar.gz
rust-749c816faec774e7e7cae8ebad01d7ca0464b541.zip
Keep track of the start of the argument block of a closure
Diffstat (limited to 'src')
-rw-r--r--src/closures.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/closures.rs b/src/closures.rs
index 423c3a997f5..244d4427c56 100644
--- a/src/closures.rs
+++ b/src/closures.rs
@@ -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, _)