Merge pull request #2538 from lolbinarycat/patch-6

Link from "Overview of the compiler § Queries" to the Queries chapter
This commit is contained in:
Tshepang Mbambo 2025-08-06 22:16:30 +02:00 committed by GitHub
commit 976bceeea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -321,6 +321,10 @@ the name `'tcx`, which means that something is tied to the lifetime of the
[`TyCtxt`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html
For more information about queries in the compiler, see [the queries chapter][queries].
[queries]: ./query.md
### `ty::Ty`
Types are really important in Rust, and they form the core of a lot of compiler