Skip to main content

find_local_import_locations

Function find_local_import_locations 

Source
fn find_local_import_locations<'db>(
    ctx: &'db FindPathCtx<'db>,
    item: ItemInNs,
    visited_modules: &mut FxHashSet<(ItemInNs, ModuleIdLt<'db>)>,
    cb: impl FnMut(&mut FxHashSet<(ItemInNs, ModuleIdLt<'db>)>, &Name, ModuleIdLt<'db>),
)
Expand description

Finds locations in from.krate from which item can be imported by from.