pub fn callee_param_index_for_local(
tcx: TyCtxt<'_>,
callee: DefId,
local: usize,
) -> Option<usize>Expand description
Return the callee argument index represented by a MIR local.
Contract annotations written with parameter names are parsed in the calleeās
local namespace. MIR local _0 is the return place and argument locals are
_1..=_arg_count, so callee local _1 denotes checkpoint argument 0.