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_through_some_lifetime

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

#[test]
fn outlives_through_some_lifetime() {
    test_prove_pending_outlives(
        unconstrained_impl_lifetime(),
        term("forall<'x, 'y> {} => {Between(u32, 'x, 'y)}"),
    )
    .assert_ok(expect!["{Constraints { env: Env { variables: [!lt_1, !lt_2], bias: Soundness, pending: [!lt_1 : !lt_2], allow_pending_outlives: true }, known_true: true, substitution: {} }}"]);
}

Rules proved (10)

Premises failed (0)

This test records no negative coverage.

Proof trees

Proof tree

How to read this page