pub fn path_segment_to_string(segment: &PathSegment<'_>) -> String