diff options
| author | Tshepang Mbambo <hopsi@tuta.io> | 2025-06-14 23:52:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-14 23:52:29 +0200 |
| commit | d16e1a1452b7c2abef7743959d3507101fa910b7 (patch) | |
| tree | 70b283e27a4928bed03cc8d3b7978b14a6d1d888 /src/doc/rustc-dev-guide | |
| parent | a3f261c976d077f5ae72eb69ef36cd977b7b9b1c (diff) | |
| parent | 21a1e51704ec18a0ed89a737fcf01a44567ce393 (diff) | |
| download | rust-d16e1a1452b7c2abef7743959d3507101fa910b7.tar.gz rust-d16e1a1452b7c2abef7743959d3507101fa910b7.zip | |
Merge pull request #2468 from rust-lang/query-cleaning
Query cleaning
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/query.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/query.md b/src/doc/rustc-dev-guide/src/query.md index 9255c4fa4a5..0ca1b360a70 100644 --- a/src/doc/rustc-dev-guide/src/query.md +++ b/src/doc/rustc-dev-guide/src/query.md @@ -37,12 +37,15 @@ will in turn demand information about that crate, starting from the actual parsing. Although this vision is not fully realized, large sections of the -compiler (for example, generating [MIR](./mir/index.md)) currently work exactly like this. +compiler (for example, generating [MIR]) currently work exactly like this. -[^incr-comp-detail]: The ["Incremental Compilation in Detail](queries/incremental-compilation-in-detail.md) chapter gives a more +[^incr-comp-detail]: The [Incremental compilation in detail] chapter gives a more in-depth description of what queries are and how they work. If you intend to write a query of your own, this is a good read. +[Incremental compilation in detail]: queries/incremental-compilation-in-detail.md +[MIR]: mir/index.md + ## Invoking queries Invoking a query is simple. The [`TyCtxt`] ("type context") struct offers a method |
