-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustdoc: avoid cleaning modules with duplicate names #101631
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
73d6743
to
1f8d552
Compare
This comment has been minimized.
This comment has been minimized.
#83872 tried to solve this earlier, and was closed because it regressed some cases that currently work. How does your code handle #83872 (comment) ? |
#83872 (comment) isn't affected. If you documented with a current, nightly compiler, it already removes the duplicate and leaves you only with |
Looks great, thanks! Maybe we should add an explanation about this reexporting shadowing behaviour in the rustdoc book too once it's merged? @bors r6 |
@bors r+ |
Rollup of 6 pull requests Successful merges: - rust-lang#101578 (remove bound var hack in `resolve`) - rust-lang#101606 (doc: fix minor typo) - rust-lang#101614 (Equate fn outputs when inferring RPITIT hidden types) - rust-lang#101631 (rustdoc: avoid cleaning modules with duplicate names) - rust-lang#101635 (Move `Queries::new` out of the macro) - rust-lang#101641 (Update browser-ui-test version to 0.9.8) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #83375