clippy_
utils
1.90.0-beta.10
(67cb8e039 2025-09-11)
clippy_utils
Function
last_path_segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>