// Explicitly check for lints associated with 'closure_id', since
// it does not have a corresponding AST node
match e.kind {
- ast::ExprKind::Closure(_, _, ast::Async::Yes { closure_id, .. }, ..)
+ ast::ExprKind::Closure(box ast::Closure {
+ asyncness: ast::Async::Yes { closure_id, .. },
+ ..
+ })
| ast::ExprKind::Async(_, closure_id, ..) => self.check_id(closure_id),
_ => {}
}