Skip to content

Commit 0bd5bd1

Browse files
ghassanachitshepang
authored andcommitted
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) .
1 parent 32bc13e commit 0bd5bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/queries/incremental-compilation-in-detail.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn try_mark_green(tcx, current_node) -> bool {
177177
}
178178
179179
// Note: The actual implementation can be found in
180-
// compiler/rustc_middle/src/dep_graph/graph.rs
180+
// compiler/rustc_query_system/src/dep_graph/graph.rs
181181
```
182182

183183
By using red-green marking we can avoid the devastating cumulative effect of

0 commit comments

Comments
 (0)