rustc_ty_utils::abi

Function fn_abi_of_instance

Source
fn fn_abi_of_instance<'tcx>(
    tcx: TyCtxt<'tcx>,
    query: ParamEnvAnd<'tcx, (Instance<'tcx>, &'tcx List<Ty<'tcx>>)>,
) -> Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, &'tcx FnAbiError<'tcx>>