Test outlived_by_every_lifetime
Source location: crates/formality-rust/src/prove/test/binder_scope.rs:34
#[test]
fn outlived_by_every_lifetime() {
test_prove_pending_outlives(Program::empty(), term("exists<'x> {} => {for<'a> 'a : 'x}"))
.assert_err(expect![[r#"
failed at (proven_set.rs) because
`!lt_1 : ?lt_0` cannot be restated without `!lt_1`"#]]);
}
Rules proved (0)
This test records no positive coverage.
Premises failed (2)
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 |
|---|---|---|---|
| prove_predicate | forall | scope(enter_universally_with_constraints(decls, … (line 35) | 4 tests |
| prove_predicate_list | some | prove_predicate(decls, env, assumptions, wc0) =>… (line 26) | 92 tests |
Proof trees
Failed proof tree
prove failedtest_util.rs:74args
ruletest_util.rs:74prove_predicate_list failedprove_predicate_list.rs:8args
rule "some"prove_predicate_list.rs:26prove_predicate failedprove_predicate.rs:23args
rule "forall"prove_predicate.rs:35leave failedbinder_scope.rs:183args
ruleproven_set.rs:59 (failed: inapplicable)