Function hir::import_map::search_dependencies

pub fn search_dependencies(
    db: &dyn DefDatabase,
    krate: Idx<CrateData>,
    query: &Query,
) -> HashSet<ItemInNs, FxBuildHasher>
Expand description

Searches dependencies of krate for an importable name matching query.

This returns a list of items that could be imported from dependencies of krate.