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, ())>Expand description
Build a resolver::ResolvedCommons backed by owning_unit’s privileged
view: its types, fns, methods, plus types/fns from every commons it
uses, plus exported types from every consumed context. The same
shape used by the production pipeline. Returns the ResolvedCommons
plus a synthetic commons span for the test.