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 access_permitted_by_loans

judgment_fn! {
    /// Prove that none of the borrows in `borrowed` does not affect `place`.
    fn access_permitted_by_loans(
        env: TypeckEnv,
        assumptions: Predicates,
        state: FlowState,
        access: Access,
        places_live_after_access: LivePlaces,
    ) => FlowState {
        /* rules omitted */
    }
}

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

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.

access_permitted_by_loans
LineCoverageSource
897✗(for_all(loan in &state.current.loans_live) with(state)
(access_permitted_by_loan(env, assumptions, state, loan, access, places_live_after_access) => state))
──────── ("access_permitted_by_loans")
900106(access_permitted_by_loans(env, assumptions, state, access, places_live_after_access) => state)

How to read this page