]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/build.rs
Rollup merge of #105511 - luqmana:rustix-upgrade, r=Mark-Simulacrum
[rust.git] / compiler / rustc_expand / src / build.rs
index c978297295d4003420c0b978c5b4222e3b0097e8..4812bdd9dd8b9c50097fab9ebaa332a65f896bc5 100644 (file)
@@ -539,6 +539,9 @@ pub fn lambda(&self, span: Span, ids: Vec<Ident>, body: P<ast::Expr>) -> P<ast::
                 fn_decl,
                 body,
                 fn_decl_span: span,
+                // FIXME(SarthakSingh31): This points to the start of the declaration block and
+                // not the span of the argument block.
+                fn_arg_span: span,
             })),
         )
     }