diff options
| author | Tshepang Mbambo <hopsi@tuta.io> | 2025-06-14 22:16:51 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <hopsi@tuta.io> | 2025-06-14 22:16:51 +0200 |
| commit | a70deb6e75437f3a2101d413b74a3ab5dff55181 (patch) | |
| tree | bcd13e833ac8bb38bf90bce83c60a9d1fa393acc /src/doc/rustc-dev-guide | |
| parent | 9265493052d50901c7947bf318ae6dda23b94ce5 (diff) | |
| download | rust-a70deb6e75437f3a2101d413b74a3ab5dff55181.tar.gz rust-a70deb6e75437f3a2101d413b74a3ab5dff55181.zip | |
content has moved to another chapter
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/query.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/query.md b/src/doc/rustc-dev-guide/src/query.md index 0c8e136b381..9255c4fa4a5 100644 --- a/src/doc/rustc-dev-guide/src/query.md +++ b/src/doc/rustc-dev-guide/src/query.md @@ -2,7 +2,7 @@ <!-- toc --> -As described in [the high-level overview of the compiler][hl], the Rust compiler +As described in [Overview of the compiler], the Rust compiler is still (as of <!-- date-check --> July 2021) transitioning from a traditional "pass-based" setup to a "demand-driven" system. The compiler query system is the key to rustc's demand-driven organization. @@ -13,7 +13,7 @@ there is a query called `type_of` that, given the [`DefId`] of some item, will compute the type of that item and return it to you. [`DefId`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/def_id/struct.DefId.html -[hl]: ./compiler-src.md +[Overview of the compiler]: overview.md#queries Query execution is *memoized*. The first time you invoke a query, it will go do the computation, but the next time, the result is |
