pub fn compile( root: &Path, mod_id: &str, refs: &Refs, ) -> Result<Compiled, String>
Compiles the mod’s content files (see the module docs). Any error fails the whole thing, listing every problem.