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 loan_not_required_by_parameter at crates/formality-rust/src/check/borrow_check/nll.rs:1326

Signature:

loan_not_required_by_parameter(env: TypeckEnv, assumptions: Wcs, outlives: Set<PendingOutlives>, loan: Loan, live_parameter: Parameter,) => ()

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.

rigid-ty
LineCoverageSource
134625(loan_not_required_by_parameters(env, assumptions, outlives, loan, parameters) => ())
──────── ("rigid-ty")
134814(loan_not_required_by_parameter(env, assumptions, outlives, loan, RigidTy { name: _, parameters }) => ())
alias-ty RFC 1214
LineCoverageSource
136213(loan_not_required_by_parameters(env, assumptions, outlives, loan, parameters) => ())
──────── ("alias-ty RFC 1214")
13646(loan_not_required_by_parameter(env, assumptions, outlives, loan, AliasTy { name: _, parameters }) => ())
for-all-type
LineCoverageSource
1376N/A(let (env1, _, parameter) = env.instantiate_universally(&binder))
1377(loan_not_required_by_parameter(env1, assumptions, outlives, loan, parameter) => ())
──────── ("for-all-type")
1379(loan_not_required_by_parameter(env, assumptions, outlives, loan, PredicateTy::ForAll(binder)) => ())
universal-variable
LineCoverageSource
14205(loan_cannot_outlive_universal_regions(env, assumptions, outlives, &loan) => ())
──────── ("universal-variable")
1422(loan_not_required_by_parameter(env, assumptions, outlives, loan, Variable::UniversalVar(_v)) => ())
lifetime
LineCoverageSource
143625(loan_cannot_outlive(env, assumptions, outlives, loan, live_lt) => ())
──────── ("lifetime")
143812(loan_not_required_by_parameter(env, assumptions, outlives, loan, live_lt: Lt) => ())