Test u32_i32_impls
Source location: tests/coherence_overlap.rs:230
#[test]
fn u32_i32_impls() {
FormalityTest::new(crates![crate core {
trait Foo {}
impl Foo for u32 {}
impl Foo for i32 {}
}])
.skip_execute()
.ok()
}
Rules proved (19)
| Judgment | Rule | All tests of this rule |
|---|---|---|
| check_all_crates | check all prefixes | 131 tests |
| check_coherence | check_coherence | 131 tests |
| check_crate | check crate | 131 tests |
| check_crate_item | trait | 131 tests |
| check_crate_item | trait impl | 127 tests |
| check_drop_impl_always_applicable | not a Drop impl | 127 tests |
| check_safety_matches | safety matches | 127 tests |
| check_trait | check trait | 131 tests |
| check_trait_impl | check_trait_impl | 127 tests |
| is_local_trait_ref | local trait | 126 tests |
| orphan_check | orphan_check | 127 tests |
overlap_check | not_goal | 115 tests (not in the report) |
overlap_check | skip_same_impl | 127 tests (not in the report) |
| prove_after | prove_after | 154 tests |
| prove_wc | eq | 148 tests |
| prove_wc | positive impl | 136 tests |
| prove_wc | trait ref is local | 128 tests |
| prove_wc_list | none | 155 tests |
| prove_wc_list | some | 154 tests |
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_allmod.rs:72args
check_crate_item (trait impl)mod.rs:195args
check_trait_impl (check_trait_impl)impls.rs:41args
prove_wc_list (none)prove_wc_list.rs:21args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (positive impl)prove_wc.rs:81args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (eq)prove_wc.rs:120args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
check_safety_matches (safety matches)impls.rs:85args
check_drop_impl_always_applicable (not a Drop impl)impls.rs:340args
for_allmod.rs:72args
check_crate_item (trait impl)mod.rs:195args
check_trait_impl (check_trait_impl)impls.rs:41args
prove_wc_list (none)prove_wc_list.rs:21args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (positive impl)prove_wc.rs:81args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (eq)prove_wc.rs:120args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
check_safety_matches (safety matches)impls.rs:85args
check_drop_impl_always_applicable (not a Drop impl)impls.rs:340args
check_coherence (check_coherence)coherence.rs:24args
for_allcoherence.rs:8for_allcoherence.rs:17args
for_allcoherence.rs:8for_allcoherence.rs:18args
overlap_check (skip_same_impl)coherence.rs:75
for_allcoherence.rs:18args
overlap_check (not_goal)coherence.rs:135
for_allcoherence.rs:17args
for_allcoherence.rs:8for_allcoherence.rs:18args
overlap_check (not_goal)coherence.rs:135
for_allcoherence.rs:18args
overlap_check (skip_same_impl)coherence.rs:75
for_allcoherence.rs:8for_allcoherence.rs:20args
orphan_check (orphan_check)coherence.rs:39args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (trait ref is local)prove_wc.rs:141args
is_local_trait_ref (local trait)is_local.rs:208args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args
for_allcoherence.rs:20args
orphan_check (orphan_check)coherence.rs:39args
prove_wc_list (some)prove_wc_list.rs:28args
prove_wc (trait ref is local)prove_wc.rs:141args
is_local_trait_ref (local trait)is_local.rs:208args
prove_after (prove_after)prove_after.rs:20args
prove_wc_list (none)prove_wc_list.rs:21args