Skip to content

E0259 needs to be updated to new format #35514

Closed
@sophiajt

Description

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

E0259 needs a span_label, updating it from:

error[E0259]: an extern crate named `collections` has already been imported in this module
  --> src/test/compile-fail/E0259.rs:12:1
   |
11 | extern crate collections;
   | ------------------------- previous import of `collections` here
12 | extern crate libc as collections; //~ ERROR E0259
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To:

error[E0259]: an extern crate named `collections` has already been imported in this module
  --> src/test/compile-fail/E0259.rs:12:1
   |
11 | extern crate collections;
   | ------------------------- previous import of `collections` here
12 | extern crate libc as collections; //~ ERROR E0259
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ already imported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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