Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Judgment borrow_check

judgment_fn! {
    /// Prove that any loans issued in this basic block are respected.
    pub fn borrow_check(
        env: TypeckEnv,
        assumptions: Predicates,
        state: FlowState,
        block: Block,
    ) => () {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/check/borrow_check/nll.rs:124

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.

borrow_check
LineCoverageSource
13579(borrow_check_block(env, assumptions, state, block, LivePlaces::default()) => _state)
──────── ("borrow_check")
137175(borrow_check(env, assumptions, state, block) => ())

How to read this page