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 resolve_rigid

judgment_fn! {
    fn resolve_rigid(
        cfn: CodegenFn,
        scope: CodegenScope,
        ty: Ty,
    ) => RigidTy {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/codegen/mod.rs:441

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.

resolve
LineCoverageSource
450✗(prove_ty_is_rigid(
&cfn.typeck_env,
&cfn.assumptions,
&scope.flow_state,
ty,
) => (rigid_ty, returned_state))
456N/A(let () = assert_no_constraints(returned_state))
──────── ("resolve")
458✗(resolve_rigid(cfn, scope, ty) => rigid_ty)

How to read this page