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 associated_type_trait_and_outlives_bounds

Source location: tests/traits.rs:99

#[test]
fn associated_type_trait_and_outlives_bounds() {
    FormalityTest::new(crates![crate Foo {
        trait Bar {}
        trait A<'a> { type Item: [Bar, 'a]; }
    }])
    .skip_execute()
    .rustc_ok()
    .ok();
}

Rules proved (38)

Premises failed (0)

This test records no negative coverage.

Proof trees

Proof tree
… (200 of 3376 nodes shown)

How to read this page