Skip to content

Trait impls on type alias aren't documented on their underlying type #89452

Open
@aDotInTheVoid

Description

@aDotInTheVoid
pub struct A;
pub type B = A;

pub trait T {}
impl T for B {}

image
image
image

This effects json and html

@rustbot modify labels: +C-Bug +T-rustdoc +A-rustdoc-json

Metadata

Metadata

Assignees

No one assigned

    Labels

    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