Skip to main content

load_edited_in

Function load_edited_in 

Source
pub fn load_edited_in(
    root: &SourceRoot,
    options: &LoadOptions,
    overlay: &Overlay,
) -> Result<World, Vec<Diagnostic>>
Expand description

Loads the tree of an opened root as load_edited does, through the handle rather than its path, so that what is validated is the directory the caller opened.

ยงErrors

Returns every diagnostic found, sorted by path and position.