Expand description
Transforms syntax into Path objects, ideally with accounting for hygiene
Functionsยง
- hir_
segment_ to_ ast_ segment - This function finds the AST segment that corresponds to the HIR segment
with index
segment_idxon the path that is lowered frompath. - lower_
path ๐ - Converts an
ast::PathtoPath. Works with use trees. It correctly handles$cratebased path from macro call.