diff --git a/guppy/src/graph/feature/build.rs b/guppy/src/graph/feature/build.rs index 9dc75432968..de59462a13a 100644 --- a/guppy/src/graph/feature/build.rs +++ b/guppy/src/graph/feature/build.rs @@ -135,7 +135,10 @@ impl<'g> FeatureGraphBuildState<'g> { } } }) + // The filter_map above holds an &mut reference to self, which is why it needs to be + // collected. .collect(); + // Don't create a map to the base 'from' node since it is already created in // add_nodes. self.add_edges(from_node, to_nodes, FeatureEdge::FeatureDependency);