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

Judgment check_trait_impl_item

judgment_fn! {
    fn check_trait_impl_item(
        program: Program,
        env: Env,
        assumptions: Predicates,
        trait_items: Vec<TraitItem>,
        impl_item: ImplItem,
        crate_id: CrateId,
    ) => () {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/check/impls.rs:151

The number on each rule’s conclusion is positive coverage; the number on each premise is negative coverage. Click a number to browse the tests.

fn in impl
LineCoverageSource
1633(check_fn_in_impl(program, env, assumptions, trait_items, v, crate_id) => ())
──────── ("fn in impl")
1655(check_trait_impl_item(program, env, assumptions, trait_items, ImplItem::Fn(v), crate_id) => ())
associated ty value
LineCoverageSource
169✗(check_associated_ty_value(program, env, assumptions, trait_items, v) => ())
──────── ("associated ty value")
171194(check_trait_impl_item(program, env, assumptions, trait_items, ImplItem::AssociatedTyValue(v), crate_id) => ())

How to read this page