Skip to content

Duplicate path resolution errors in resolve #32760

Description

@jseyfried

For example,

mod foo {}

use foo::bar::baz::{}; // This emits 2 errors
fn main() {
    foo::bar::baz(); // This emits 2 errors
    <() as foo::bar>::baz(); // This emits 3 errors
    foo::bar::baz { x: 0 } // This emits 2 errors
}

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

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions