From 764425f22b87dc3c610abb06aefee9737b7432c4 Mon Sep 17 00:00:00 2001 From: Ghassan Gedeon Achi Date: Mon, 21 Nov 2022 17:04:56 -0700 Subject: [PATCH] Update path for `try_mark_green` implementation Updates the location of the `try_mark_green` algorithm from `compiler/rustc_middle/src/dep_graph/graph.rs` to [`compiler/rustc_middle/src/dep_graph/graph.rs`](https://github.com/rust-lang/rust/blob/stable/compiler/rustc_query_system/src/dep_graph/graph.rs#L574) . --- src/queries/incremental-compilation-in-detail.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queries/incremental-compilation-in-detail.md b/src/queries/incremental-compilation-in-detail.md index dc196e490..5b30f227a 100644 --- a/src/queries/incremental-compilation-in-detail.md +++ b/src/queries/incremental-compilation-in-detail.md @@ -177,7 +177,7 @@ fn try_mark_green(tcx, current_node) -> bool { } // Note: The actual implementation can be found in -// compiler/rustc_middle/src/dep_graph/graph.rs +// compiler/rustc_query_system/src/dep_graph/graph.rs ``` By using red-green marking we can avoid the devastating cumulative effect of