Skip to content

Trait methods with body and >1 unnamed parameters are wrongly rejected by resolve #34074

@petrochenkov

Description

@petrochenkov

Reproduces on stable/beta/nightly.

trait Tr {
    // error: identifier `` is bound more than once in this parameter list
    fn f(u8, u8) {}
}

fn main() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions