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_free_fn

judgment_fn! {
    /// A "free function" is a free-standing function that is not part of an impl.
    pub(crate) fn check_free_fn(
        program: Program,
        f: Fn,
        crate_id: CrateId,
    ) => () {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/check/fns.rs:14

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.

check free fn
LineCoverageSource
2481(check_fn(program, Env::default(), Predicates::t(), f, crate_id) => ())
──────── ("check free fn")
26175(check_free_fn(program, f, crate_id) => ())

How to read this page