rustdoc::clean

Function first_non_private_clean_path

Source
fn first_non_private_clean_path<'tcx>(
    cx: &mut DocContext<'tcx>,
    path: &Path<'tcx>,
    new_path_segments: &'tcx [PathSegment<'tcx>],
    new_path_span: Span,
) -> Path