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 36) | not counted by the judgment view |
| check_trait_impl_item | fn in impl | check_fn_in_impl(program, env, assumptions, trai… (line 163) | 3 tests |
| check_fn_in_impl | check_fn_in_impl | scope(enter_universally(env, &merge_binders(&ii_… (line 197, blamed at line 215) | 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 73, blamed at line 74) | not counted by the judgment view |
| check_crate_item | trait impl | check_trait_impl(program, v, crate_id) => () (line 194) | 16 tests |
| prove_predicate | subtype | prove_sub(decls, env, assumptions, a, b) => c (line 121) | 11 tests |
| prove_predicate_list | some | prove_predicate(decls, env, assumptions, wc0) =>… (line 26) | 67 tests |
| prove_sub | normalize-l | prove_normalize(decls, env, assumptions, x) => C… (line 27) | 11 tests |
| prove_sub | normalize-r | prove_normalize(decls, env, assumptions, y) => C… (line 34) | 11 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:74check_crate_item failedmod.rs:179rule "trait impl"mod.rs:194check_trait_impl failedimpls.rs:14rule "check_trait_impl"impls.rs:36check_trait_impl_item failedimpls.rs:151rule "fn in impl"impls.rs:163check_fn_in_impl failedimpls.rs:176rule "check_fn_in_impl"impls.rs:215prove failedfunction.rs:250args
rulefunction.rs:250prove_predicate_list failedprove_predicate_list.rs:8args
rule "some"prove_predicate_list.rs:26prove_predicate failedprove_predicate.rs:22args
rule "subtype"prove_predicate.rs:121prove_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