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_statement / print / premise borrow_check_expr( env, assumptions, state, expr, places_live_on_exit ) => (_expr_ty, state)

Premise at line 341. Observed failure causes: failed_judgment.

print
LineCoverageSource
3411(borrow_check_expr(
env,
assumptions,
state,
expr,
places_live_on_exit
) => (_expr_ty, state))
──────── ("print")
349162(borrow_check_statement(env, assumptions, state, Stmt::Print { expr }, places_live_on_exit) => (env, state))

1 test failed proving this premise:


Source location: tests/consts.rs:242 (all coverage from this test)

Failed proof tree

How to read this page