Uh oh!
There was an error while loading. Please reload this page.
rustdoc: do not emit tuple variant fields if none are documented - #91687
Conversation
rust-highfive
commented
Dec 9, 2021
(rust-highfive has picked a reviewer for you, use r? to override) |
GuillaumeGomez
commented
Dec 9, 2021
jsha
commented
Dec 15, 2021
This looks good to me and is the approach that I was trying to express in the issue thread. @euclio based on the screenshots, you may be building off an outdated master. We made some changes to the display of tuple fields recently and now they look like this (https://doc.rust-lang.org/nightly/std/path/enum.Prefix.html): Would you mind pulling the latest and updating your branch and screenshots? |
15bcbed to
c426044Compareeuclio
commented
Dec 16, 2021
Rebased and updated screenshots. |
GuillaumeGomez
commented
Dec 16, 2021
Can you also provide a case where a |
c426044 to
ff12aedComparecamelid
commented
Dec 17, 2021
@rustbot ready |
camelid
commented
Jan 9, 2022
@GuillaumeGomez this is waiting on a review I think. |
GuillaumeGomez
commented
Jan 9, 2022
Arf indeed. I'll review it tomorrow morning then. Thanks for the ping! |
GuillaumeGomez
commented
Jan 10, 2022
Thanks! @bors: r6 |
GuillaumeGomez
commented
Jan 10, 2022
With the correct command this time... @bors: r+ |
bors
commented
Jan 10, 2022
📌 Commit ff12aed has been approved by |
… r=GuillaumeGomez rustdoc: do not emit tuple variant fields if none are documented Fixesrust-lang#90824. Before:  After: 
matthiaskrgr
commented
Jan 10, 2022
@bors r- |
This comment has been minimized.
This comment has been minimized.
camelid
commented
Jan 11, 2022
CI is failing. |
050f402 to
4193f2dCompareeuclio
commented
Jan 11, 2022
CI is now green. |
This comment has been minimized.
This comment has been minimized.
GuillaumeGomez
commented
Jan 12, 2022
Thanks! @bors: r+ |
bors
commented
Jan 12, 2022
📌 Commit 4193f2d has been approved by |
… r=GuillaumeGomez rustdoc: do not emit tuple variant fields if none are documented Fixesrust-lang#90824. Before:  After: 
… r=GuillaumeGomez rustdoc: do not emit tuple variant fields if none are documented Fixesrust-lang#90824. Before:  After: 
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#90001 (Make rlib metadata strip works with MIPSr6 architecture) - rust-lang#91687 (rustdoc: do not emit tuple variant fields if none are documented) - rust-lang#91938 (Add `std::error::Report` type) - rust-lang#92006 (Welcome opaque types into the fold) - rust-lang#92142 ([code coverage] Fix missing dead code in modules that are never called) - rust-lang#92277 (rustc_metadata: Stop passing `CrateMetadataRef` by reference (step 1)) - rust-lang#92334 (rustdoc: Preserve rendering of macro_rules matchers when possible) - rust-lang#92807 (Update cargo) - rust-lang#92832 (Update RELEASES for 1.58.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup

Fixes#90824.
Before:
After: