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

Test foo

Source location: tests/mir_typeck.rs:321

fn foo() -> () {
    let s2: S2<S1>;
}

Rules proved (0)

This test records no positive coverage.

Premises failed (14)

The last column links to the premise’s page when the judgment view counts this failure against that premise. It does not when the premise is read as infallible, or when the failure was blamed inside a multi-line premise that carries no record on its own first line.

JudgmentRulePremiseAll tests of this premise
borrow_checkborrow_checkborrow_check_block(env, assumptions, state, bloc… (line 135)79 tests
borrow_check_blockbasic blockfor_all(i in 0..stmts.len()) with(env, state) (b… (line 156, blamed at line 157)not counted by the judgment view
borrow_check_statementlet-no-initprove_ty_is_wf(env, assumptions, state, ty) => s… (line 203)1 test
check_free_fncheck free fncheck_fn(program, Env::default(), Predicates::t(… (line 24)81 tests
check_fncheck fnscope(enter_universally(env, &f.binder) => (env,… (line 48, blamed at line 54)not counted by the judgment view
check_fn_bodyexpr fn bodyborrow_check(typeck_env, assumptions, initial_st… (line 89)79 tests
check_all_cratescheck all prefixesfor_all(i in 0..crates.len()) (let program = cra… (line 52, blamed at line 54)not counted by the judgment view
check_cratecheck cratefor_all(item in &c.items) (check_crate_item(prog… (line 73, blamed at line 74)not counted by the judgment view
check_crate_itemfree fncheck_free_fn(program, f, crate_id) => () (line 207)81 tests
prove_afterprove_afterprove(decls, c1.env(), assumptions, goal) => c2 (line 19)21 tests
prove_predicatetrait implied boundti in decls.trait_invariants() (line 106)19 tests
prove_predicateparameter well formedprove_wf(decls, env, assumptions, p) => c (line 149)4 tests
prove_predicate_listsomeprove_predicate(decls, env, assumptions, wc0) =>… (line 26)67 tests
prove_wfADTprove_after(decls, c, assumptions, &t.where_clau… (line 64)5 tests

Proof trees

Failed proof tree

How to read this page