Function is not linked in docs if is has the same name as a struct and is re-exported #37342
Labels
C-bug
Category: This is a bug.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
While docs for
fn Foo
are generated in the following they are not linked anywhere and can’t be found by using the search.fn Bar
is linked on the other hand.On the other hand, when using
pub use internal::*
it works like expected. This is inconsistent as the function is clearly accessible fromfn main
in both cases.The text was updated successfully, but these errors were encountered: