fn path_segment_is_exact_match(
    path_segments: &[PathSegment],
    syms: &[Symbol],
) -> bool