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 trait_with_valid_associated_type

Source location: tests/traits.rs:28

#[test]
fn trait_with_valid_associated_type() {
    FormalityTest::new(crates![
        crate core {
            trait A {
                type Assoc : [];
            }
        }
    ])
    .skip_execute()
    .rustc_ok()
    .ok();
}

Rules proved (8)

Premises failed (0)

This test records no negative coverage.

Proof trees

Proof tree