mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
[rustdoc] If re-export is private, get the next item until a public one is found or expose the private item directly Fixes #81141. If we have: ```rust use Private as Something; pub fn foo() -> Something {} ``` Then `Something` will be replaced by `Private`. r? `@notriddle`