Trait rustc_infer::infer::at::ToTrace[−][src]

pub trait ToTrace<'tcx>: Relate<'tcx> + Copy {
    fn to_trace(
        tcx: TyCtxt<'tcx>,
        cause: &ObligationCause<'tcx>,
        a_is_expected: bool,
        a: Self,
        b: Self
    ) -> TypeTrace<'tcx>; }

Required methods

fn to_trace(
    tcx: TyCtxt<'tcx>,
    cause: &ObligationCause<'tcx>,
    a_is_expected: bool,
    a: Self,
    b: Self
) -> TypeTrace<'tcx>
[src]

Loading content...

Implementations on Foreign Types

impl<'tcx> ToTrace<'tcx> for Ty<'tcx>[src]

impl<'tcx> ToTrace<'tcx> for Region<'tcx>[src]

impl<'tcx> ToTrace<'tcx> for &'tcx Const<'tcx>[src]

impl<'tcx> ToTrace<'tcx> for TraitRef<'tcx>[src]

impl<'tcx> ToTrace<'tcx> for PolyTraitRef<'tcx>[src]

impl<'tcx> ToTrace<'tcx> for ProjectionTy<'tcx>[src]

Loading content...

Implementors

Loading content...