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

Conversation

lolbinarycat
Copy link
Contributor

There's already a link in the other direction, so this seems fairly logical.

There's already a link in the other direction, so this seems fairly logical.
@rustbot
Copy link
Collaborator

rustbot commented Aug 6, 2025

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 6, 2025
src/overview.md Outdated
@@ -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 :)

@tshepang tshepang merged commit c83fee0 into rust-lang:master Aug 6, 2025
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants