clippy_utils

Function def_path_def_ids

source
pub fn def_path_def_ids(
    tcx: TyCtxt<'_>,
    path: &[&str],
) -> impl Iterator<Item = DefId>
Expand description

Resolves a def path like std::vec::Vec to its DefIds, see def_path_res.