{"ast_node_type":"function","tokens":[{"end":57,"kind":"keyword","start":0,"text":"fn"}]}
fn does_pat_match_variant(pat: &Pat, var: &Pat) -> bool {
// Fixme: this is still somewhat limited, use hir_ty::diagnostics::match_check?
    match (pat, var) {