Trait rustc::infer::combine::RelateResultCompare
[−]
[src]
pub trait RelateResultCompare<'tcx, T> {
fn compare<F>(&self, t: T, f: F) -> RelateResult<'tcx, T> where F: FnOnce() -> TypeError<'tcx>;
}
Unstable (
rustc_private
)Required Methods
fn compare<F>(&self, t: T, f: F) -> RelateResult<'tcx, T> where F: FnOnce() -> TypeError<'tcx>
Unstable (
rustc_private
)Implementors
impl<'tcx, T: Clone + PartialEq> RelateResultCompare<'tcx, T> for RelateResult<'tcx, T>