{"ast_node_type":"other","tokens":[{"end":67,"kind":"keyword","start":0,"text":"if"}]}
        if self.check_expr_pat_type(pattern.hir_id, pattern.span) {
    fn visit_pat(&mut self, pattern: &'tcx hir::Pat<'tcx>) {
            // Do not check nested patterns if the error already happened.