fn cmp_wp_idents(x: &WherePredicate, y: &WherePredicate) -> bool {
        use WherePredicate::*;

        match (x, y) {
            (Type(xpt), Type(ypt)) => xpt.bounded_ty == ypt.bounded_ty,
            (Lifetime(xpl), Lifetime(ypl)) => xpl.lifetime == ypl.lifetime,
            (Eq(xeq), Eq(yeq)) => xeq.lhs_ty == yeq.lhs_ty,
            _ => false
        }
    }
/// Compare only the identifiers of two WherePredicates
Compare only the identifiers of two WherePredicates
Compare only the identifiers of two WherePredicates
fn cmp_wp_idents(x: &WherePredicate, y: &WherePredicate) -> bool {
        use WherePredicate::*;
        match (x, y) {
            (Type(xpt), Type(ypt)) => xpt.bounded_ty == ypt.bounded_ty,
            (Lifetime(xpl), Lifetime(ypl)) => xpl.lifetime == ypl.lifetime,
            (Eq(xeq), Eq(yeq)) => xeq.lhs_ty == yeq.lhs_ty,
            _ => false
        }
    }
fn cmp_wp_idents ( x : & WherePredicate , y : & WherePredicate ) -> bool { use WherePredicate :: * ; match ( x , y ) { ( Type ( xpt ) , Type ( ypt ) ) => xpt . bounded_ty == ypt . bounded_ty , ( Lifetime ( xpl ) , Lifetime ( ypl ) ) => xpl . lifetime == ypl . lifetime , ( Eq ( xeq ) , Eq ( yeq ) ) => xeq . lhs_ty == yeq . lhs_ty , _ => false } }
Compare only the identifiers of two WherePredicates
Compare only the identifiers of two WherePredicates
x
&WherePredicate
y
&WherePredicate
x
&WherePredicate
y
&WherePredicate