syntax::ast::make

Function path_segment

Source
pub fn path_segment(name_ref: NameRef) -> PathSegment