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 every_lifetime_outlives_static

Source location: crates/formality-rust/src/prove/test/binder_scope.rs:42

#[test]
fn every_lifetime_outlives_static() {
    test_prove_pending_outlives(Program::empty(), term("{} => {for<'a> 'a : 'static}")).assert_err(
        expect![[r#"
            failed at (proven_set.rs) because
              `!lt_1 : ' static` 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.

JudgmentRulePremiseAll tests of this premise
prove_predicateforallscope(enter_universally_with_constraints(decls, … (line 35)4 tests
prove_predicate_listsomeprove_predicate(decls, env, assumptions, wc0) =>… (line 26)92 tests

Proof trees

Failed proof tree

How to read this page