Judgment prove_ty_is_ref
judgment_fn! {
/// Prove that any loans issued in thes value expressions (evaluated in this order) are respected.
fn prove_ty_is_ref(
env: TypeckEnv,
assumptions: Predicates,
state: FlowState,
ty: Ty,
) => FlowState {
/* rules omitted */
}
}
Source: crates/formality-rust/src/check/borrow_check/nll.rs:1090
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.
ref| Line | Coverage | Source |
|---|---|---|
| 1101 | ✗ | (prove_ty_is_rigid(env, assumptions, state, ty) => (RigidTy { name: RigidName::Ref(..), .. }, state)) |
| ──────── ("ref") | ||
| 1103 | 10 | (prove_ty_is_ref(_env, _assumptions, state, ty) => state) |