pub fn load_edited(
root: &Path,
options: &LoadOptions,
overlay: &Overlay,
) -> Result<World, Vec<Diagnostic>>Expand description
Loads a source tree as it would be with overlay applied, without
writing anything. Overlay files are read under the same limits and
budget as files on disk, and a directory that holds one exists. An
overlay of more entries than maximum_entries is refused before
anything is read.
ยงErrors
Returns every diagnostic found, sorted by path and position.