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 record_place_use

judgment_fn! {
    /// Record initialization after a permitted value use of a place.
    fn record_place_use(
        state: FlowState,
        access_kind: AccessKind,
        place: TypedPlaceExpr,
    ) => FlowState {
        /* rules omitted */
    }
}

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

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.

read
LineCoverageSource
──────── ("read")
10454(record_place_use(state, AccessKind::Read, _place) => state)
move
LineCoverageSource
1049N/A(let state = state.with_uninit(&place.to_place_expression()))
──────── ("move")
1051139(record_place_use(state, AccessKind::Move, place) => state)

How to read this page