clippy_utils

Function match_def_path

Source
pub fn match_def_path(cx: &LateContext<'_>, did: DefId, syms: &[&str]) -> bool
Expand description

Checks if the given DefId matches the path.