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) .
This commit is contained in:
Ghassan Gedeon Achi 2022-11-21 17:04:56 -07:00 committed by Tshepang Mbambo
parent 32bc13e408
commit 0bd5bd1d68
1 changed files with 1 additions and 1 deletions

View File

@ -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