{"ast_node_type":"variable","tokens":[{"end":87,"kind":"keyword","start":0,"text":"let"}]}
        let ResolvedPatKind::Path { res, pat_res, segments } = resolved_pat.kind else {
    ) {
            span_bug!(pat_span, "unexpected resolution for path pattern: {resolved_pat:?}");