We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c396496 commit 0ac6625Copy full SHA for 0ac6625
chalk-solve/src/coherence.rs
@@ -107,8 +107,9 @@ where
107
108
// Build the forest of specialization relationships.
109
fn build_specialization_forest(&self) -> Result<Graph<ImplId<I>, ()>, CoherenceError<I>> {
110
- // The forest is returned as a graph but built as a GraphMap; this is
+ // FIXME(pierwill): Previously, the forest was built as a GraphMap
111
// so that we never add multiple nodes with the same ItemId.
112
+ // Will need to add a check for this.
113
let mut forest = DiGraph::new();
114
115
// Find all specializations (implemented in coherence/solve)
0 commit comments