We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91ede12 + febe3e6 commit 5a82d2fCopy full SHA for 5a82d2f
src/query.md
@@ -2,7 +2,7 @@
2
3
<!-- toc -->
4
5
-As described in [the high-level overview of the compiler][hl], the Rust compiler
+As described in [Overview of the compiler], the Rust compiler
6
is still (as of <!-- date-check --> July 2021) transitioning from a
7
traditional "pass-based" setup to a "demand-driven" system. The compiler query
8
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
13
some item, will compute the type of that item and return it to you.
14
15
[`DefId`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/def_id/struct.DefId.html
16
-[hl]: ./compiler-src.md
+[Overview of the compiler]: overview.md#queries
17
18
Query execution is *memoized*. The first time you invoke a
19
query, it will go do the computation, but the next time, the result is
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments