Function rustc_lint::non_local_def::path_name_to_string
source · fn path_name_to_string(path: &Path<'_>) -> String
Expand description
Return a “error message-able” ident for the last segment of the Path
fn path_name_to_string(path: &Path<'_>) -> String
Return a “error message-able” ident for the last segment of the Path