Merged
Conversation
- Only latest nightly crates' docs are published - How to get an old nightly docs
Collaborator
|
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 |
tshepang
reviewed
Apr 18, 2026
Member
There was a problem hiding this comment.
I see there is a rustup component that includes compiler api docs, rustc-docs
❯ rustup component add rustc-docs
info: downloading component rustc-docs
rustc-docs installed 32.34 MiB
❯ rustup doc --rustc-docs
Opening docs named `rustc-docs` in your browser
Member
Author
There was a problem hiding this comment.
In my experience this did not add the internal rustc docs.
Member
There was a problem hiding this comment.
the component was added several weeks ago, and yeah, it does not exist for your example nightly
tshepang
reviewed
Apr 18, 2026
tshepang
reviewed
Apr 20, 2026
|
|
||
| ### Getting Specific Nightly Documentation for `rustc_private` | ||
|
|
||
| The nightly-rustc internal crates' documentation is only available for the latest nightly. If you depend on compiler internals from an older nightly, you may want to refer to the internal documentation from that particular nightly. The only way to do this is to generate the documentation locally. For example, to get documentation for `nightly-2025-11-08`: |
Member
There was a problem hiding this comment.
- this does not make it clear what nightly-rustc means... I assume that it means from the website
- it should at least mention that the docs are available via rustup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ran into this recently, so thought maybe adding this to the dev guide makes it clearer and searchable/discoverable.