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
check_all_crates (check all prefixes)mod.rs:54args
for_allmod.rs:41for_allmod.rs:51args
check_crate (check crate)mod.rs:75args
for_allmod.rs:60for_allmod.rs:72args
check_crate_item (trait)mod.rs:188args
check_trait (check trait)traits.rs:26args
prove_wc_list (none)prove_wc_list.rs:21args
for_alltraits.rs:9for_alltraits.rs:24args
check_trait_item (associated ty in trait)traits.rs:50args
check_associated_ty (check associated ty)traits.rs:93args
prove_wc_list (none)prove_wc_list.rs:21args
check_coherence (check_coherence)coherence.rs:24args