Skip to content

rustdoc collapser also collapses stability annotations #121772

Closed
@Gankra

Description

@Gankra

The stability annotations are inside the collapsible area now, so they get hidden when you collapse things. This is probably undesirable.

Evidently this is a regression introduced in 1.54.0.

Reproduction Steps

tap the [-] in the top right (or if you had it on [+] you need to press it twice)
then check if you can tell which methods are unstable:

image

Metadata

Metadata

Labels

C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions