flowistry_pdg_construction::utils

Function try_resolve_function

Source
pub fn try_resolve_function<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    typing_env: TypingEnv<'tcx>,
    args: GenericArgsRef<'tcx>,
) -> Option<Instance<'tcx>>
Expand description

Resolve the def_id item to an instance.