params_with_lifetime

Function params_with_lifetime 

Source
fn params_with_lifetime(
    tcx: TyCtxt<'_>,
    caller: DefId,
    signature: &SignatureInfo,
    lifetime: &str,
) -> HashSet<usize>
Expand description

Finds MIR argument locals whose source signature type carries the target lifetime.