]> git.lizzy.rs Git - rust.git/blobdiff - clippy_utils/src/eager_or_lazy.rs
Update TypeVisitor paths
[rust.git] / clippy_utils / src / eager_or_lazy.rs
index 1a784b6cdda4c5934441a7f3b85378b6c7183087..730724b95b968277082b2f72c5fed88cc6645b1d 100644 (file)
@@ -198,7 +198,7 @@ fn visit_expr(&mut self, e: &'tcx Expr<'_>) {
                 | ExprKind::Let(..)
                 | ExprKind::If(..)
                 | ExprKind::Match(..)
-                | ExprKind::Closure(..)
+                | ExprKind::Closure { .. }
                 | ExprKind::Field(..)
                 | ExprKind::Path(_)
                 | ExprKind::AddrOf(..)