Skip to content

rustdoc renders re-exported types' field types differently from their definitions #89712

Closed
@camelid

Description

@camelid

For example, with MatchExpressionArmCause. Note Vec<Span> in the definition vs Vec<Span, Global> in the re-export, and Ty<'tcx> in the definition vs &'tcx TyS<'tcx> in the re-export.

Definition

image

Re-export

image


Note

I'm labeling this as A-cross-crate-reexports, but it may happen with intra-crate re-exports too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateC-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