Inconsistent default display of doc(cfg(...)) on impls of empty traits #79279
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
F-doc_cfg
`#![feature(doc_cfg)]`
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
cargo doc
renders this as follows. Notice that the blue banner appears for Eq (I guess because the trait is empty) but not for PartialEq. I believe that it should consistently appear for neither Eq nor PartialEq, or both Eq and PartialEq.Expanding the [+] next to impl PartialEq shows the other blue banner but this issue is about the default appearance on page load.
Mentioning
doc(cfg(...))
tracking issue #43781.Mentioning @GuillaumeGomez @Nemo157
The text was updated successfully, but these errors were encountered: