Trait rustc_resolve::ty::relate::Relate [−][src]
pub trait Relate<'tcx>: TypeFoldable<'tcx> + Copy {
fn relate<R>(
relation: &mut R,
a: Self,
b: Self
) -> Result<Self, TypeError<'tcx>>
where
R: TypeRelation<'tcx>;
}