Skip to content

an impl that contains two methods with the same name does not yield an error #2114

Closed
@nikomatsakis

Description

@nikomatsakis

This passes:

impl methods for uint {
    fn a() { }
    fn a() { }
}

fn main() { }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions