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