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:1196

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
121615(loan_not_required_by_parameters(env, assumptions, outlives, loan, parameters) => ())
──────── ("rigid-ty")
12182(loan_not_required_by_parameter(env, assumptions, outlives, loan, RigidTy { name: _, parameters }) => ())
alias-ty RFC 1214
LineCoverageSource
123213(loan_not_required_by_parameters(env, assumptions, outlives, loan, parameters) => ())
──────── ("alias-ty RFC 1214")
1234(loan_not_required_by_parameter(env, assumptions, outlives, loan, AliasTy { name: _, parameters }) => ())
for-all-type
LineCoverageSource
1246N/A(let (env1, _, parameter) = env.instantiate_universally(&binder))
1247(loan_not_required_by_parameter(env1, assumptions, outlives, loan, parameter) => ())
──────── ("for-all-type")
1249(loan_not_required_by_parameter(env, assumptions, outlives, loan, PredicateTy::ForAll(binder)) => ())
universal-variable
LineCoverageSource
1290(loan_cannot_outlive_universal_regions(env, assumptions, outlives, &loan) => ())
──────── ("universal-variable")
1292(loan_not_required_by_parameter(env, assumptions, outlives, loan, Variable::UniversalVar(_v)) => ())
lifetime
LineCoverageSource
130615(loan_cannot_outlive(env, assumptions, outlives, loan, live_lt) => ())
──────── ("lifetime")
1308(loan_not_required_by_parameter(env, assumptions, outlives, loan, live_lt: Lt) => ())