Test drop
Source location: tests/drop.rs:228
fn drop<'a>(self: &'a mut MyStruct) -> u32 {
return 0_u32;
}
Rules proved (0)
This test records no positive coverage.
Premises failed (10)
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.
| Judgment | Rule | Premise | All tests of this premise |
|---|---|---|---|
| check_trait_impl | check_trait_impl | scope(enter_universally(Env::default(), binder) … (line 23, blamed at line 37) | not counted by the judgment view |
| check_trait_impl_item | fn in impl | check_fn_in_impl(program, env, assumptions, trai… (line 187) | 3 tests |
| check_fn_in_impl | check_fn_in_impl | scope(enter_universally(env, &merge_binders(&ii_… (line 221, blamed at line 239) | not counted by the judgment view |
| check_all_crates | check all prefixes | for_all(i in 0..crates.len()) (let program = cra… (line 52, blamed at line 54) | not counted by the judgment view |
| check_crate | check crate | for_all(item in &c.items) (check_crate_item(prog… (line 74, blamed at line 75) | not counted by the judgment view |
| check_crate_item | trait impl | check_trait_impl(program, v, crate_id) => () (line 195) | 23 tests |
| prove_predicate | subtype | prove_sub(decls, env, assumptions, a, b) => c (line 130) | 20 tests |
| prove_predicate_list | some | prove_predicate(decls, env, assumptions, wc0) =>… (line 26) | 92 tests |
| prove_sub | normalize-l | prove_normalize(decls, env, assumptions, x) => C… (line 27) | 20 tests |
| prove_sub | normalize-r | prove_normalize(decls, env, assumptions, y) => C… (line 34) | 20 tests |
Proof trees
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 "trait impl"mod.rs:195check_trait_impl failedimpls.rs:14rule "check_trait_impl"impls.rs:37check_trait_impl_item failedimpls.rs:175rule "fn in impl"impls.rs:187check_fn_in_impl failedimpls.rs:200rule "check_fn_in_impl"impls.rs:239prove 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