Judgment borrow_check_block at crates/formality-rust/src/check/borrow_check/nll.rs:144
Signature:
borrow_check_block(env: TypeckEnv, assumptions: Wcs, state: FlowState, block: Block, places_live_on_exit: LivePlaces,) => FlowState
The number on each rule’s conclusion is positive coverage; the number on each premise is negative coverage. Click a number to browse the tests.
basic block| Line | Coverage | Source |
|---|---|---|
| 157 | ✗ | (let state = state.push_scope(&env.env, label, places_live_on_exit)?) |
| 158 | ✗ | (for_all(i in 0..stmts.len()) with(env, state) (borrow_check_statement( env, assumptions, state, &stmts[i], stmts[i+1..].live_before(env, &state, places_live_on_exit), ) => (env, state))) |
| 167 | N/A | (let locals_to_drop = state.locals_dropped_in_innermost_scope()) |
| 168 | 2 | (drop_places(env, assumptions, state, locals_to_drop, places_live_on_exit) => state) |
| 169 | N/A | (let state = state.pop_scope(label)) |
| ──────── ("basic block") | ||
| 171 | 75 | (borrow_check_block(env, assumptions, state, Block { label, stmts }, places_live_on_exit) => state) |