Skip to content

Forbid types and modules with the same name #15230

@pcwalton

Description

@pcwalton

They are currently only forbidden if there is an impl, which is clearly silly behavior.

Nominating for 1.0, P-backcompat-lang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name/path resolution done by `rustc_resolve` specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions