Skip to content

Link from "Overview of the compiler § Queries" to the Queries chapter #2538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]: https://rustc-dev-guide.rust-lang.org/query.html
Copy link
Member

@tshepang tshepang Aug 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is some intro text in same page

Suggested change
[queries]: https://rustc-dev-guide.rust-lang.org/query.html
[queries]: #queries

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's... the section I'm linking from? The section linking to itself isn't useful at all, it needs to link to the chapter.

Anyways this did make me realize I should be using relative a relative URL, so that's been updated.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's... the section I'm linking from? The section linking to itself isn't useful at all, it needs to link to the chapter.

heh, of course I missed that :)


### `ty::Ty`

Types are really important in Rust, and they form the core of a lot of compiler
Expand Down