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

Required Methods§

source

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

Implementors§