pub(crate) fn resolve_instance<'tcx>(
tcx: TyCtxt<'tcx>,
caller: DefId,
def_id: DefId,
args: GenericArgs<'tcx>,
) -> Option<Instance<'tcx>>Expand description
Resolve a FnDef(def_id, args) (already skip_binderd by the caller) to
its monomorphized [Instance] in caller’s post-analysis typing env.