{"ast_node_type":"other","tokens":[{"end":5,"kind":"keyword","start":0,"text":"}"}]}
    }
        return find_segment(trait_ref.path()?.segments().chain(segments), segment_idx);
    return find_segment(segments, segment_idx);