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