-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc: some trait implementors don't have src link #86632
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The ones who don't have the |
…play, r=notriddle Fix implementors display Part of rust-lang#86632. This PR does a few things: * It fixes of the JS rendered implementors. * It generates anchors for JS rendered implementors to make it coherent with the others. * It adds a test to ensure that we won't have the same issue again. * It changes the way we render the rustdoc-gui crates to simplify it a bit and also to allow to have dependencies without going through compiletest. Before:  After:  I plan to add the `[src]` links in another PR because this one is already big enough. cc `@Mark-Simulacrum` (for the bootstrap changes) r? `@Nemo157`
Interestingly, rustdoc does render a source link for e.g. the @rustbot label A-cross-crate-reexports |
Live: https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html
Some trait implementors don't have src link and anchors:
The text was updated successfully, but these errors were encountered: