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_associated_ty

judgment_fn! {
    fn check_associated_ty(
        program: Program,
        env: Env,
        trait_where_clauses: Predicates,
        associated_ty: AssociatedTy,
    ) => () {
        /* rules omitted */
    }
}

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

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 associated ty
LineCoverageSource
83N/A(let AssociatedTy { id: _, binder } = associated_ty)
84✗(scope(enter_universally(env, binder) => (env, AssociatedTyBoundData { ensures: _, where_clauses })) with()
(super::where_clauses::prove_where_clauses_well_formed(
program, env, (trait_where_clauses, where_clauses), where_clauses,
) => ()))
──────── ("check associated ty")
90195(check_associated_ty(program, env, trait_where_clauses, associated_ty) => ())

How to read this page