X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=clippy_utils%2Fsrc%2Feager_or_lazy.rs;h=730724b95b968277082b2f72c5fed88cc6645b1d;hb=490c773e66d28a3b07a87af8d27d844ed6ed6efc;hp=1a784b6cdda4c5934441a7f3b85378b6c7183087;hpb=77d2b100509646a26435d69f97aee7d031a0aa37;p=rust.git diff --git a/clippy_utils/src/eager_or_lazy.rs b/clippy_utils/src/eager_or_lazy.rs index 1a784b6cdda..730724b95b9 100644 --- a/clippy_utils/src/eager_or_lazy.rs +++ b/clippy_utils/src/eager_or_lazy.rs @@ -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(..)