clippy_utils

Function def_path_def_ids

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

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