rustc_resolve::late

Function 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