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

Positive coverage: prove_const_has_type / block

block
LineCoverageSource
401(borrow_check(TypeckEnv::for_const(env, decls), assumptions, FlowState::default(), block) => ())
──────── ("block")
423(prove_const_has_type(decls, env, assumptions, Const::Block(block)) => (Ty::unit(), Constraints::none(env)))

3 tests exercised this rule:


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

Proof tree
… (200 of 1358 nodes shown)

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

Proof tree
… (200 of 1394 nodes shown)

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

Proof tree
… (200 of 1366 nodes shown)

How to read this page