From 3da320b437dfa9c8ec38a58efe87d611d18898df Mon Sep 17 00:00:00 2001 From: Rain Date: Fri, 27 Mar 2020 19:44:02 -0700 Subject: [PATCH] [feature] make FeatureEdge no longer Eq, PartialEq or Hash This is because we're going to replace the Dependency enum's variants with TargetPredicates, which don't implement any of those. We may reintroduce this in the future if necessary. --- guppy/src/graph/feature/graph_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guppy/src/graph/feature/graph_impl.rs b/guppy/src/graph/feature/graph_impl.rs index c162df796a7..49510a2ddea 100644 --- a/guppy/src/graph/feature/graph_impl.rs +++ b/guppy/src/graph/feature/graph_impl.rs @@ -444,7 +444,7 @@ impl FeatureNode { } /// Information about why a feature depends on another feature. -#[derive(Clone, Debug, Eq, Hash, PartialEq)] +#[derive(Clone, Debug)] pub(in crate::graph) enum FeatureEdge { /// This edge is from a feature to its base package. FeatureToBase,