()
| 2460 | if let Some(m) = &env.main |
| 2461 | && env.consts.get(m).is_none() |
| 2462 | { |
| 2463 | return Err(format!( |
| 2464 | "Env::get_anon: main {} not present in consts", |
| 2465 | m.hex() |
| 2466 | )); |
| 2467 | } |
| 2468 | |
| 2469 | // Section 3: anon_hints. Hints are performance advice (lazy-delta |
| 2470 | // tiebreak); the kernel's anon-mode correctness model is preserved |
| 2471 | // either way. Without them, every Definition is forced to |
| 2472 | // `Regular(0)` and the kernel can chew through `MAX_WHNF_FUEL` on |
| 2473 | // definitions Lean would have marked `Abbrev`/`Regular(h)`. |
| 2474 | for (addr, hints) in read_hints_section( |
| 2475 | buf, |
| 2476 | consts_order.len(), |
nothing calls this directly
no test coverage detected