[−][src]Trait rustc_infer::infer::combine::RelateResultCompare
Required methods
pub fn compare<F>(&self, t: T, f: F) -> RelateResult<'tcx, T> where
F: FnOnce() -> TypeError<'tcx>, [src]
F: FnOnce() -> TypeError<'tcx>,
Implementations on Foreign Types
impl<'tcx, T: Clone + PartialEq> RelateResultCompare<'tcx, T> for RelateResult<'tcx, T>[src]
pub fn compare<F>(&self, t: T, f: F) -> RelateResult<'tcx, T> where
F: FnOnce() -> TypeError<'tcx>, [src]
F: FnOnce() -> TypeError<'tcx>,