<!-- Thank you for filing a rustdoc issue! Rustdoc is the tool that handles the generation of docs. It is usually invoked via `cargo doc`, but can also be used directly. If you have an issue with the actual content of the docs, use the "Documentation problem" template instead. --> # Code <!-- problematic snippet and/or link to repo and/or full path of standard library function --> ```rust mod raw { pub fn foo() {} } /// Foobar /// /// Baz pub use raw::foo; pub use raw::*; ``` # Reproduction Steps <!-- * command(s) to run, if any * permalink to hosted documentation, if any * search query, if any --> 1. `cargo doc --open` 2. click on the link to `foo` # Expected Outcome <!-- What did you want to happen? For GUI issues, feel free to provide a mockup image of what you want it to look like. For diagnostics, please provide a mockup of the desired output in a code block. --> The "foobaz bar" docs show up. # Actual Output <!-- * rustdoc console output * browser screenshot of generated html * rustdoc json (prettify by running through `jq` or running thorugh an online formatter) --> No docs on `fn.foo.html`  # Version <!-- Available via `rustdoc --version` or under the "Help" menu. If the issue involves opening the documentation in a browser, please also provide the name and version of the browser used. --> rustdoc 1.88.0 (6b00bc388 2025-06-23) # Additional Details Oddly, the module summary contains the correct docs.  <!-- Anything else you think is relevant -->