-
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
Particially revert #73771 #76529
Particially revert #73771 #76529
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Maybe cc @GuillaumeGomez? |
@rust-lang/rustdoc works too. ;) |
|
Absolutely. ;) |
well that's odd. |
std/primitive.slice.html has broken links because after this PR, it displays Concat trait implementations. std/primitive.u64.html has a broken link for |
I don't understand, sorry. What do the broken links have to do with the new implementors being shown? I don't see any links to |
To reproduce the issue, one has to build with For usize, the "Read more" link is broken: http://0.0.0.0:8000/std/primitive.usize.html#tymethod.from_u64 For Concat trait under std/primitive.slice: note the rust/library/alloc/src/slice.rs Line 625 in 97eb606
|
Got it, thanks. The broken primitive.slice.html link can't be fixed until #63351 is. I took a look at #from_u64 - they don't actually have a link there: So it seems like rustdoc itself is generating invalid links 🤦 Since this is intended to be backported to beta, I think we should just whitelist the broken links for now. If you want to try and fix the issues in a follow-up commit that would be great :) but I think only the revert should be backported. |
8e4fd02
to
745080a
Compare
745080a
to
3a9c5ae
Compare
Another candidate: #76571 |
r? @jyn514 -- seems like you have a better handle than I on these things |
…n514 Ignore rustc_private items from std docs By ignoring rustc_private items for non local impl block, this may fix rust-lang#74672 and fix rust-lang#75588 . This might suppress rust-lang#76529 if it is simple enough for backport.
…n514 Ignore rustc_private items from std docs By ignoring rustc_private items for non local impl block, this may fix rust-lang#74672 and fix rust-lang#75588 . This might suppress rust-lang#76529 if it is simple enough for backport.
…n514 Ignore rustc_private items from std docs By ignoring rustc_private items for non local impl block, this may fix rust-lang#74672 and fix rust-lang#75588 . This might suppress rust-lang#76529 if it is simple enough for backport.
Ignore rustc_private items from std docs By ignoring rustc_private items for non local impl block, this may fix rust-lang#74672 and fix rust-lang#75588 . This might suppress rust-lang#76529 if it is simple enough for backport.
☔ The latest upstream changes (presumably #76571) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
I'm going to close this: I think #76571 is a better candidate for backport and we can always re-open it against beta if the rustdoc team decides they don't want to backport 76571. |
Hopefully this should close #75588.
cc #74534