Skip to content

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

Closed
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions