{"ast_node_type":"function","tokens":[{"end":99,"kind":"keyword","start":0,"text":"pub"}]}
pub fn path_segment_ty(type_ref: ast::Type, trait_ref: Option<ast::PathType>) -> ast::PathSegment {
    let text = match trait_ref {