rustdoc: doc_cfg on trait impls needs more visibility #68100
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I'm trying to annotate all the parts of a crate that are available based on feature flags and I've had the following experience when annotating a trait impl.
This is what it looks like with the default visibility
After expanding a single [+]
Fully expanded
Ideally the default visibility with everything minimized should still indicate that this trait impl is dependent upon the given feature.
The text was updated successfully, but these errors were encountered: