{"ast_node_type":"function","tokens":[{"end":76,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn new(ident: Ident, hir_id: HirId, res: Res) -> PathSegment<'hir> {
    /// Converts an identifier to the corresponding segment.
        PathSegment { ident, hir_id, res, infer_args: true, args: None }