Skip to content

Rustdoc for impl Trait in argument position is broken #49309

Description

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

Running rustdoc on this code generates the following documentation:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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