rustc_trait_selection::traits::util

Function future_trait_ref_and_outputs

Source
pub(crate) fn future_trait_ref_and_outputs<'tcx>(
    tcx: TyCtxt<'tcx>,
    fn_trait_def_id: DefId,
    self_ty: Ty<'tcx>,
    sig: GenSig<TyCtxt<'tcx>>,
) -> (TraitRef<'tcx>, Ty<'tcx>)