{"ast_node_type":"function","tokens":[{"end":99,"kind":"keyword","start":0,"text":"pub"}]}
pub fn hir_segment_to_ast_segment(path: &ast::Path, segment_idx: u32) -> Option<ast::PathSegment> {
/// with index `segment_idx` on the path that is lowered from `path`.
    // Too tightly coupled to `lower_path()`, but unfortunately we cannot decouple them,