pub fn declared(
owner: &str,
raw: &BTreeMap<String, String>,
) -> Result<BTreeMap<String, String>>Expand description
2026-09-26: Validate one declaration (a recipe’s env: block or a
BENCH.toml [benchmarks.serve_env] table) into the lever set it means.
owner names the declaring file in every refusal.
§Errors
A key that is not a Runtime lever (no prefix; a harness, build, dev or
tool variable; or a name the lever table does not declare), or a value
that is empty after trimming (how a shell spells “unset”).