Skip to content

rustdoc elides TyParam: Sized bounds on inlined cross-crate re-exported associated items even if they're meaningful #144015

@theemathas

Description

@theemathas

The documentation for add in std is missing a where T: Sized clause.

Image

Note, however, that the corresponding documentation in core correctly has the where T: Sized clause.

Image

@rustbot labels +T-rustdoc

Metadata

Metadata

Assignees

Labels

A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-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