Function rustc_resolve::late::def_id_matches_path
source ยท fn def_id_matches_path(
tcx: TyCtxt<'_>,
def_id: DefId,
expected_path: &[&str],
) -> bool
Expand description
Check if definition matches a path
fn def_id_matches_path(
tcx: TyCtxt<'_>,
def_id: DefId,
expected_path: &[&str],
) -> bool
Check if definition matches a path