fn cmp_gp_idents(x: &GenericParam, y: &GenericParam) -> bool {
        use GenericParam::*;

        match (x, y) {
            (Type(xtp), Type(ytp)) => xtp.ident == ytp.ident,
            (Lifetime(xld), Lifetime(yld)) => xld.lifetime == yld.lifetime,
            (Const(xc), Const(yc)) => xc.ident == yc.ident,
            _ => false
        }
    }
/// Compare only the identifiers of two GenericParams
Compare only the identifiers of two GenericParams
Compare only the identifiers of two GenericParams
fn cmp_gp_idents(x: &GenericParam, y: &GenericParam) -> bool {
        use GenericParam::*;
        match (x, y) {
            (Type(xtp), Type(ytp)) => xtp.ident == ytp.ident,
            (Lifetime(xld), Lifetime(yld)) => xld.lifetime == yld.lifetime,
            (Const(xc), Const(yc)) => xc.ident == yc.ident,
            _ => false
        }
    }
fn cmp_gp_idents ( x : & GenericParam , y : & GenericParam ) -> bool { use GenericParam :: * ; match ( x , y ) { ( Type ( xtp ) , Type ( ytp ) ) => xtp . ident == ytp . ident , ( Lifetime ( xld ) , Lifetime ( yld ) ) => xld . lifetime == yld . lifetime , ( Const ( xc ) , Const ( yc ) ) => xc . ident == yc . ident , _ => false } }
Compare only the identifiers of two GenericParams
Compare only the identifiers of two GenericParams
x
&GenericParam
y
&GenericParam
x
&GenericParam
y
&GenericParam