-
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: broken "src" link #15309
Comments
@alexcrichton Is there any historical or technical reason for suffixing [src] link id's with a unique numeric code? Stripping that would solve this problem. Although this might be a symptom of a larger rustdoc bug that should ultimately be fixed. |
After some minor sleuthing and discussion with acrichto, this is what I know.
From the latter we can see that this number is extracted from a fairly deep hierarchy of objects. Unfortunately I'm out of my depth, and have other pressing matters at hand. As a shim to get correct behaviour, we could simply remove this unique id business until we actually need to support multiple |
I've analyzed this issue and this seems to be a fundamental problem with using We should never use For |
This commit uses an existing foreign inlining facility to implement the doc generation from compiled crates. At the highest level, this is a *huge* hack since the metadata doesn't provide everything we need to generate docs. Fixes rust-lang#2206. Will fix rust-lang#15309 once integrated with Makefile.
In http://doc.rust-lang.org/std/sync/struct.Arc.html
click "src". It links to http://doc.rust-lang.org/alloc/arc/struct.Arc.html?gotosrc=1343 which is forwarded to http://doc.rust-lang.org/alloc/arc/undefined
The text was updated successfully, but these errors were encountered: