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

Negative coverage: borrow_check / borrow_check / premise drop_places(env, assumptions, state, locals_to_drop, LivePlaces::default()) => _state

Premise at line 137. Observed failure causes: failed_judgment.

borrow_check
LineCoverageSource
135113(borrow_check_block(env, assumptions, state, block, LivePlaces::default()) => state)
136N/A(let locals_to_drop = state.locals_dropped_on_return())
1371(drop_places(env, assumptions, state, locals_to_drop, LivePlaces::default()) => _state)
──────── ("borrow_check")
139289(borrow_check(env, assumptions, state, block) => ())

1 test failed proving this premise:


Source location: tests/borrowck.rs:2782 (all coverage from this test)

fn store(x: u32) -> () {
    exists<'r0> {
        stash(&'r0 x);
    }
}
Failed proof tree

How to read this page