]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/mem_categorization.rs
Rollup merge of #93080 - SkiFire13:itermut-as_mut_slice, r=m-ou-se
[rust.git] / compiler / rustc_typeck / src / mem_categorization.rs
index 21916352532b1698231bc935415ad7594aa53d14..9acae8d79e70eb8a560d039fe8aaef7d9bbaf536 100644 (file)
@@ -359,7 +359,7 @@ pub(crate) fn cat_expr_unadjusted(
             | hir::ExprKind::Call(..)
             | hir::ExprKind::Assign(..)
             | hir::ExprKind::AssignOp(..)
-            | hir::ExprKind::Closure(..)
+            | hir::ExprKind::Closure { .. }
             | hir::ExprKind::Ret(..)
             | hir::ExprKind::Unary(..)
             | hir::ExprKind::Yield(..)