Closed
Description
From: src/test/compile-fail/E0260.rs
E0260 needs a span_label, updating it from:
error[E0260]: an extern crate named `collections` has already been imported in this module
--> src/test/compile-fail/E0260.rs:13:1
|
11 | extern crate collections;
| ------------------------- previous import of `collections` here
12 |
13 | mod collections { //~ ERROR E0260
| ^
To:
error[E0260]: an extern crate named `collections` has already been imported in this module
--> src/test/compile-fail/E0260.rs:13:1
|
11 | extern crate collections;
| ------------------------- previous import of `collections` here
12 |
13 | mod collections { //~ ERROR E0260
| ^ `collections` already imported
Bonus: Underline the name of the conflicting definition, if possible:
error[E0260]: an extern crate named `collections` has already been imported in this module
--> src/test/compile-fail/E0260.rs:13:1
|
11 | extern crate collections;
| ------------------------- previous import of `collections` here
12 |
13 | mod collections { //~ ERROR E0260
| ^^^^^^^^^^^ already imported