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 outlives_every_lifetime

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

#[test]
fn outlives_every_lifetime() {
    test_prove_pending_outlives(Program::empty(), term("exists<'x> {} => {for<'a> 'x : 'a}"))
        .assert_ok(expect!["{Constraints { env: Env { variables: [?lt_1], bias: Soundness, pending: [?lt_1 : ' static], allow_pending_outlives: true }, known_true: true, substitution: {} }}"]);
}

Rules proved (6)

Premises failed (0)

This test records no negative coverage.

Proof trees

Proof tree

How to read this page