Function clippy_utils::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.
pub fn match_def_path(cx: &LateContext<'_>, did: DefId, syms: &[&str]) -> bool
Checks if the given DefId
matches the path.