Skip to main content

build_privileged_resolved

Function build_privileged_resolved 

Source
pub fn build_privileged_resolved(
    owning_unit: &str,
    unit_tables: &HashMap<String, UnitTable>,
    unit_uses: &HashMap<String, Vec<String>>,
    unit_consumes: &HashMap<String, Vec<String>>,
    unit_consumes_aliases: &HashMap<String, HashMap<String, String>>,
) -> Option<(ResolvedCommons, ViewReach)>
Expand description

Build a resolver::ResolvedCommons backed by owning_unit’s privileged_view. The same shape used by the production pipeline. Returns the ResolvedCommons plus what the view’s closure found (#1814): its hidden types and its conflicts.