pub fn build_data(rawast: &RawAst) -> Result<(Env, Diagnostics), Diagnostics>Expand description
Build the environment’s data layer, build’s first stage: the structs and
consts resolved, each struct validated, in an environment with no system
or program yet. Returns it and its warnings.
§Errors
A struct or const declared twice or that does not resolve, a struct’s field repeated, a struct containing itself.