Function clippy_utils::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.