pub fn build_data(env: &Env) -> Result<(TyEnv, Diagnostics), Diagnostics>Expand description
Type the data layer of env, build’s first stage: its consts folded,
its structs laid out, in a typed environment with no system or program
yet (what the headers are written from). Returns it and its warnings.
§Errors
A const that does not fold or fit its declared type, a struct with no fixed size, a declared type whose array length does not fold.