Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E0260 needs to be updated to new format #35515

Closed
sophiajt opened this issue Aug 8, 2016 · 4 comments
Closed

E0260 needs to be updated to new format #35515

sophiajt opened this issue Aug 8, 2016 · 4 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 8, 2016

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
@creativcoder
Copy link
Contributor

I'd like to work on this.

@sophiajt
Copy link
Contributor Author

sophiajt commented Aug 9, 2016

@creativcoder - looks like @EugeneGonzalez claimed this one, but feel free to look at the list as there are some open ones no one has claimed

@creativcoder
Copy link
Contributor

Sure. I'll go have a look.

@sophiajt
Copy link
Contributor Author

@creativcoder - I'm releasing this one so someone else can volunteer since it's gone 15 days without a fix, but there are other error codes you can sign up for if you want to fix more.

@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Aug 24, 2016
0xmohit added a commit to 0xmohit/rust that referenced this issue Aug 29, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Aug 29, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Aug 30, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

3 participants