Skip to main content

shadowed_imports_in

Function shadowed_imports_in 

Source
pub fn shadowed_imports_in<'a>(
    local: &UnitTable,
    uses: impl Iterator<Item = (&'a String, &'a UnitTable)>,
) -> HashMap<String, ShadowedImport>
Expand description

shadowed_imports over a unit’s own table and its uses targets’ tables, in uses order — for a caller holding tables rather than UnitInfos (a suite’s view of its target, crate::test_suites).