- if let ExprKind::Closure(..) = t.node;
- if let PatKind::Ident(_, ident, _) = local.pat.node;
- if let StmtKind::Semi(ref second) = w[1].node;
- if let ExprKind::Assign(_, ref call) = second.node;
- if let ExprKind::Call(ref closure, _) = call.node;
- if let ExprKind::Path(_, ref path) = closure.node;
+ if let ExprKind::Closure(..) = t.kind;
+ if let PatKind::Ident(_, ident, _) = local.pat.kind;
+ if let StmtKind::Semi(ref second) = w[1].kind;
+ if let ExprKind::Assign(_, ref call) = second.kind;
+ if let ExprKind::Call(ref closure, _) = call.kind;
+ if let ExprKind::Path(_, ref path) = closure.kind;