about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/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
commit8f705e2425ff459566cd1da0f2c79060fdad9091 (patch)
treea89e14443b862c7334dfbaa63f8c2fb9147f4894 /compiler/rustc_ast_pretty/src
parent872631d0f0fadffe3220ab1bd9c8f1f2342341e2 (diff)
downloadrust-8f705e2425ff459566cd1da0f2c79060fdad9091.tar.gz
rust-8f705e2425ff459566cd1da0f2c79060fdad9091.zip
Keep track of the start of the argument block of a closure
Diffstat (limited to 'compiler/rustc_ast_pretty/src')
-rw-r--r--compiler/rustc_ast_pretty/src/pprust/state/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
index 1da40d2302e..8d905322e1d 100644
--- a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
+++ b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
@@ -409,6 +409,7 @@ impl<'a> State<'a> {
                 ref fn_decl,
                 ref body,
                 fn_decl_span: _,
+                fn_arg_span: _,
             }) => {
                 self.print_closure_binder(binder);
                 self.print_movability(movability);