Skip to content

E0428 needs to be updated to new format #35798

Closed
@sophiajt

Description

@sophiajt

From: src/test/compile-fail/E0428.rs

E0428 needs a span_label, updating it from:

error[E0428]: a type named `Bar` has already been defined in this module
  --> src/test/compile-fail/E0428.rs:12:1
   |
11 | struct Bar;
   | ----------- previous definition of `Bar` here
12 | struct Bar; //~ ERROR E0428
   | ^^^^^^^^^^^

To:

error[E0428]: a type named `Bar` has already been defined in this module
  --> src/test/compile-fail/E0428.rs:12:1
   |
11 | struct Bar;
   | ----------- previous definition of `Bar` here
12 | struct Bar; //~ ERROR E0428
   | ^^^^^^^^^^^ already defined

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