Function clippy_utils::is_qpath_def_path [−][src]
pub fn is_qpath_def_path(
cx: &LateContext<'_>,
path: &QPath<'_>,
hir_id: HirId,
segments: &[&str]
) -> boolExpand description
Resolves the path to a DefId and checks if it matches the given path.
