rustc_lint::non_local_def

Function path_span_without_args

Source
fn path_span_without_args(path: &Path<'_>) -> Span
Expand description

Return for a given Path the span until the last args