pub fn build_closed_program(files: &[PathBuf]) -> ModuleGraphBuildExpand description
Build a closed module graph while retaining every reachable parsed source.
This is intentionally separate from editor-oriented graph construction: package linking consumes every module AST, while ordinary diagnostics should not retain an entire dependency graph after extracting its public surface.