We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794741c commit 55bdbabCopy full SHA for 55bdbab
compiler/rustc_query_system/src/dep_graph/graph.rs
@@ -851,6 +851,10 @@ impl<D: Deps> DepGraphData<D> {
851
) -> Option<DepNodeIndex> {
852
let frame = MarkFrame { index: prev_dep_node_index, parent: frame };
853
854
+ #[cfg(not(parallel_compiler))]
855
+ self.assert_nonexistent_node(dep_node, || {
856
+ format!("trying to mark existing {dep_node:?} as green")
857
+ });
858
#[cfg(not(parallel_compiler))]
859
debug_assert!(self.colors.get(prev_dep_node_index).is_none());
860
0 commit comments