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_item

judgment_fn! {
    fn check_trait_item(
        program: Program,
        env: Env,
        where_clauses: Predicates,
        trait_item: TraitItem,
        crate_id: CrateId,
    ) => () {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/check/traits.rs:31

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 trait
LineCoverageSource
42✗(check_fn_in_trait(program, env, where_clauses, f, crate_id) => ())
──────── ("fn in trait")
44193(check_trait_item(program, env, where_clauses, TraitItem::Fn(f), crate_id) => ())
associated ty in trait
LineCoverageSource
48✗(check_associated_ty(program, env, where_clauses, v) => ())
──────── ("associated ty in trait")
50195(check_trait_item(program, env, where_clauses, TraitItem::AssociatedTy(v), crate_id) => ())

How to read this page