pub fn build_with_source(file: &Path, source: &str) -> ModuleGraphExpand description
Build a module graph using caller-owned source for one root file.
Imported modules still resolve from their normal filesystem or embedded stdlib locations. This keeps editor diagnostics aligned with unsaved root buffers without creating a second module resolver.