pub fn check_visibility(graph: &ModuleGraph) -> Vec<VisibilityViolation>Expand description
Check visibility constraints after merging.
For each import in the entry module, verify that the imported symbol
is marked pub in the source module. Returns a list of violations.