pub fn single_segment_path<'tcx>(
    path: &QPath<'tcx>
) -> Option<&'tcx PathSegment<'tcx>>