Auto-trait documentation section empty with manual auto-trait impls #48606
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
With #47833 merged, I expected to see auto-trait implementations in the nightly docs in a separate section. However, in case there are manual
impl
s, they are still shown in the "Trait Implementations" section. For example, https://doc.rust-lang.org/nightly/std/cell/struct.Cell.html has the impls forSend
and!Sync
in the "Trait Implementations" section, leaving the "Auto Trait Implementations" section entirely empty.At the very least, this looks funny and probably the section header should not be shown if the section is empty. However, I actually think it'd make more sense to move manual impls of auto-traits into that section -- this way, the place to look for
Send
andSync
impls is always the same, instead of depending on the type like it does now.The text was updated successfully, but these errors were encountered: