Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8ec9895

Browse files
Update incremental-compilation-in-detail.md (rust-lang#1553)
Co-authored-by: Michael Woerister <[email protected]>
1 parent ff59da0 commit 8ec9895

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ the result of `type_of(bar)` might yield a different result than what we
6262
have in the cache and, transitively, the result of `type_check_item(foo)`
6363
might have changed too. We thus re-run `type_check_item(foo)`, which in
6464
turn will re-run `type_of(bar)`, which will yield an up-to-date result
65-
because it reads the up-to-date version of `Hir(bar)`.
65+
because it reads the up-to-date version of `Hir(bar)`. Also, we re-run
66+
`type_check_item(bar)` because result of `type_of(bar)` might have changed.
6667

6768

6869
## The Problem With The Basic Algorithm: False Positives

0 commit comments

Comments
 (0)