-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Report module reexports in rustdoc #3537
Comments
Discovering reexports requires running Perhaps they can be annotated manually. |
If a crate saved its reexports in metadata tables, would this be sufficient? |
(nominating for feature-complete) |
@graydon It would not be necessary. Rustdoc can't figure out reexports because it can't depend on having access to compiled crates. To read the metadata out of the crates, the crates would need to be precompiled before running rustdoc, but if that were the case then rustdoc wouldn't have this problem anyway because it could just run resolve. |
dupe of / continued in #5486 |
rustdoc lost this ability, presumably with the resolve rewrite. I want to do it differently next time: for each module add another section that lists reexports and links to their original definition.
The text was updated successfully, but these errors were encountered: