Skip to content

Rustdoc displays negative impls for traits identically to standard impls #21310

@mkovalchik

Description

@mkovalchik

When documenting negative impls for the Send and Sync traits (added by RFC 19) rustdoc currently displays the negative impls identically to positive impls.

As an example, there's currently no indication that the Send impl for MutexGuard is actually opting out of the Send trait rather than adding an implementation of it.

Metadata

Metadata

Assignees

Labels

P-mediumMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions