pub(crate) fn resolve_callee_def_id<'tcx>(
tcx: TyCtxt<'tcx>,
caller: DefId,
func: &Operand<'tcx>,
) -> Option<DefId>Expand description
Return the call’s DefId, using the selected impl method’s DefId when
available. Otherwise return the DefId from the operand.