pub fn try_resolve_function<'tcx>( tcx: TyCtxt<'tcx>, def_id: DefId, typing_env: TypingEnv<'tcx>, args: GenericArgsRef<'tcx>, ) -> Option<Instance<'tcx>>
Resolve the def_id item to an instance.
def_id