Function clippy_utils::match_def_path
source · pub fn match_def_path<'tcx>(
cx: &LateContext<'tcx>,
did: DefId,
syms: &[&str]
) -> boolExpand description
Checks if the given DefId matches the path.
pub fn match_def_path<'tcx>(
cx: &LateContext<'tcx>,
did: DefId,
syms: &[&str]
) -> boolChecks if the given DefId matches the path.