Skip to content

rustdoc renders stability attribute for trait implementations on type pages, but not trait pages #80777

Closed
@jplatte

Description

@jplatte

For example, impl BitOr<NonZeroU128> for NonZeroU128 being stable since 1.45.0 is visible on the page for NonZeroU128:

Screenshot_2021-01-07 core num NonZeroU128 - Rust

but not on the page for BitOr:

Screenshot_2021-01-07 core ops BitOr - Rust

(also the latter doesn't have BitOr linkified while the former has NonZeroU128 linkified, but self-links seem less important)

Metadata

Metadata

Labels

A-stabilityArea: `#[stable]`, `#[unstable]` etc.A-trait-systemArea: Trait systemC-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