You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
…urner
Change E0259 to the new error format
Fixesrust-lang#35514 as part of rust-lang#35233.
Sorry about creating a new PR I was having a lot of troubles squashing the commit because I didn't properly branch the new feature.
r? @GuillaumeGomez
From: src/test/compile-fail/E0259.rs
E0259 needs a span_label, updating it from:
To:
The text was updated successfully, but these errors were encountered: