Skip to content

E0254 needs to be updated to new format #35513

Closed
@sophiajt

Description

@sophiajt

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

E0254 needs a span_label, updating it from:

error[E0254]: an extern crate named `collections` has already been imported in this module
  --> src/test/compile-fail/E0254.rs:19:5
   |
11 | extern crate collections;
   | ------------------------- previous import of `collections` here
...
19 | use foo::collections; //~ ERROR E0254
   |     ^^^^^^^^^^^^^^^^

To:

error[E0254]: an extern crate named `collections` has already been imported in this module
  --> src/test/compile-fail/E0254.rs:19:5
   |
11 | extern crate collections;
   | ------------------------- previous import of `collections` here
...
19 | use foo::collections; //~ ERROR E0254
   |     ^^^^^^^^^^^^^^^^ already imported

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