Skip to content

Commit 751a323

Browse files
committed
Remove the anon query modifier
We still have some anon-task machinery for `DepKind::TraitSelect` tasks, but there are no longer any queries that use the `anon` modifier.
1 parent 1f70165 commit 751a323

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/queries/incremental-compilation-in-detail.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -485,13 +485,6 @@ respect to incremental compilation:
485485
For example, it makes no sense to store values from upstream
486486
crates in the cache because they are already available in the upstream crate's metadata.
487487

488-
- `anon` - This attribute makes the system use "anonymous" dep-nodes for the given query.
489-
An anonymous dep-node is not identified by the corresponding query key.
490-
Instead, its ID is computed from the IDs of its dependencies.
491-
This allows the red-green system to do its change detection even if there is no
492-
query key available for a given dep-node -- something which is needed for
493-
handling trait selection because it is not based on queries.
494-
495488
[mod]: ../query.html#adding-a-new-kind-of-query
496489

497490

0 commit comments

Comments
 (0)