-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 links to private structs, causing 404s #23912
Comments
Another example: https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.align. The |
Yeah, there's a lot of these. |
For Also, is it a bug that you can have private items in a public signature's |
I wonder if rustdoc should be resolving qualified paths that it encounters. |
Is there still some unresolved issue here? |
Still a thing; for example, Copy tries to link to types in rand, but the doc link is broken. (That link goes to 1.19.0, but it's still there in today's nightly docs.) If i were to guess, it probably has to do with rustdoc seeing types that are in dependencies of std, but aren't being documented alongside it. |
Wrote a fix for it. Will make the PR tomorrow or after tomorrow. |
This issue was actually fixed by #44026. The issue i actually referenced in that PR was apparently a duplicate of this one. |
… r=QuietMisdreavus Do not display hidden types, fixes issue 23912 Fixes rust-lang#23912. r? @QuietMisdreavus (It's the one I was talking about a few days ago, just close it if it's useless.)
See http://doc.rust-lang.org/std/primitive.char.html#method.into_searcher as an example,
CharEqPattern
goes nowhereThe text was updated successfully, but these errors were encountered: