Negative coverage: borrow_check_expr / multiplication / premise borrow_check_expr(env, assumptions, state, expr, places_live_on_exit) => (ty, state)
Premise at line 401. Observed failure causes: failed_judgment.
multiplication| Line | Coverage | Source |
|---|---|---|
| 400 | N/A | (let expr = Expr::bin_op(lhs, BinOpKind::Mul, rhs)) |
| 401 | 2 | (borrow_check_expr(env, assumptions, state, expr, places_live_on_exit) => (ty, state)) |
| ──────── ("multiplication") | ||
| 403 | 15 | (borrow_check_expr(env, assumptions, state, Expr::Mul { lhs, rhs }, places_live_on_exit) => (ty, state)) |
2 tests failed proving this premise:
Source location: tests/mir_typeck.rs:1323 (all coverage from this test)
fn foo() -> () {
let x: i32 = 3_i32 * 4_u32;
}
Failed proof tree
check_all_crates failedmod.rs:42args
rule "check all prefixes"mod.rs:54check_crate failedmod.rs:61args
rule "check crate"mod.rs:75check_crate_item failedmod.rs:180rule "free fn"mod.rs:208check_free_fn failedfns.rs:14args
rule "check free fn"fns.rs:24check_fn failedfns.rs:31args
rule "check fn"fns.rs:54check_fn_body failedfns.rs:61args
rule "expr fn body"fns.rs:89borrow_check failednll.rs:124args
rule "borrow_check"nll.rs:135borrow_check_block failednll.rs:144rule "basic block"nll.rs:159borrow_check_statement failednll.rs:176args
rule "let"nll.rs:191borrow_check_expr_has_ty failednll.rs:354args
rule "block"nll.rs:367borrow_check_expr failednll.rs:375args
rule "multiplication"nll.rs:401borrow_check_expr failednll.rs:375rule "binop"nll.rs:526borrow_check_expr_has_ty failednll.rs:354args
rule "block"nll.rs:368prove_assignable failednll.rs:1192args
rule "subtype"nll.rs:1210prove failedfunction.rs:250args
rulefunction.rs:250prove_predicate_list failedprove_predicate_list.rs:8args
rule "some"prove_predicate_list.rs:26prove_predicate failedprove_predicate.rs:23args
rule "subtype"prove_predicate.rs:130prove_sub failedprove_sub.rs:12args
rule "normalize-l"prove_sub.rs:27prove_normalize failedprove_normalize.rs:22args
rule "normalize-r"prove_sub.rs:34prove_normalize failedprove_normalize.rs:22args
Source location: tests/mir_typeck.rs:1349 (all coverage from this test)
fn foo() -> () {
let x: bool = true * false;
}
Failed proof tree
check_all_crates failedmod.rs:42args
rule "check all prefixes"mod.rs:54check_crate failedmod.rs:61args
rule "check crate"mod.rs:75check_crate_item failedmod.rs:180rule "free fn"mod.rs:208check_free_fn failedfns.rs:14args
rule "check free fn"fns.rs:24check_fn failedfns.rs:31args
rule "check fn"fns.rs:54check_fn_body failedfns.rs:61args
rule "expr fn body"fns.rs:89borrow_check failednll.rs:124args
rule "borrow_check"nll.rs:135borrow_check_block failednll.rs:144rule "basic block"nll.rs:159borrow_check_statement failednll.rs:176args
rule "let"nll.rs:191borrow_check_expr_has_ty failednll.rs:354args
rule "block"nll.rs:367borrow_check_expr failednll.rs:375args
rule "multiplication"nll.rs:401borrow_check_expr failednll.rs:375rule "binop"nll.rs:525 (failed: if_false)