Function rustc_ty_utils::instance::resolve_instance
source · fn resolve_instance<'tcx>(
tcx: TyCtxt<'tcx>,
key: ParamEnvAnd<'tcx, (DefId, GenericArgsRef<'tcx>)>
) -> Result<Option<Instance<'tcx>>, ErrorGuaranteed>