diff options
Diffstat (limited to 'compiler/rustc_query_system/src/dep_graph/query.rs')
| -rw-r--r-- | compiler/rustc_query_system/src/dep_graph/query.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/query.rs b/compiler/rustc_query_system/src/dep_graph/query.rs index 0fe3748e386..27b3b5e1366 100644 --- a/compiler/rustc_query_system/src/dep_graph/query.rs +++ b/compiler/rustc_query_system/src/dep_graph/query.rs @@ -32,7 +32,8 @@ impl<K: DepKind> DepGraphQuery<K> { for &target in edges.iter() { let target = self.dep_index_to_index[target]; - // Skip missing edges. + // We may miss the edges that are pushed while the `DepGraphQuery` is being accessed. + // Skip them to issues. if let Some(target) = target { self.graph.add_edge(source, target, ()); } |
