]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/build.rs
Rollup merge of #100323 - GuillaumeGomez:impl-blocks-only-private, r=notriddle
[rust.git] / compiler / rustc_expand / src / build.rs
index 74e9bbeeeafe9f43b8a04ccbf4ebf2f1add85ece..fa3e2a4a5b81ca83614b6d2a708b080abe6166b6 100644 (file)
@@ -520,6 +520,7 @@ pub fn lambda(&self, span: Span, ids: Vec<Ident>, body: P<ast::Expr>) -> P<ast::
         self.expr(
             span,
             ast::ExprKind::Closure(
+                ast::ClosureBinder::NotPresent,
                 ast::CaptureBy::Ref,
                 ast::Async::No,
                 ast::Movability::Movable,