Skip to content

Rustdoc for impl Trait in argument position is broken #49309

Closed
@sinkuu

Description

@sinkuu
pub fn foo(_x: impl Clone, _y: i32, _z: impl Copy) {
}

Running rustdoc on this code generates the following documentation:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-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