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

E0432 needs to be updated to new format #35344

Closed
sophiajt opened this issue Aug 4, 2016 · 1 comment
Closed

E0432 needs to be updated to new format #35344

sophiajt opened this issue Aug 4, 2016 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 4, 2016

From: src/test/compile-fail/issue-32833.rs

Error E0432 needs a span_label and an updated title, updating it from:

error[E0432]: unresolved import `bar::Foo`. There is no `Foo` in `bar`
  --> src/test/compile-fail/issue-32833.rs:11:5
   |
11 | use bar::Foo; //~ ERROR There is no `Foo` in `bar` [E0432]
   |     ^^^^^^^^

error[E0432]: unresolved import `Foo`. There is no `Foo` in the crate root
  --> src/test/compile-fail/issue-32833.rs:13:9
   |
13 |     use Foo; //~ ERROR There is no `Foo` in the crate root [E0432]
   |         ^^^

To:

error[E0432]: unresolved import `bar::Foo`
  --> src/test/compile-fail/issue-32833.rs:11:5
   |
11 | use bar::Foo; //~ ERROR There is no `Foo` in `bar` [E0432]
   |     ^^^^^^^^ no `Foo` in `bar`

error[E0432]: unresolved import `Foo`
  --> src/test/compile-fail/issue-32833.rs:13:9
   |
13 |     use Foo; //~ ERROR There is no `Foo` in the crate root [E0432]
   |         ^^^ no `Foo` in crate root
@sophiajt sophiajt added E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. A-diagnostics Area: Messages for errors, warnings, and lints E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. labels Aug 4, 2016
@medzin
Copy link
Contributor

medzin commented Aug 5, 2016

I'll take it.

sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 22, 2016
…andturner

Updated E0054, E0423 & E0432 to new error format

Fixes rust-lang#35791, rust-lang#35796 and rust-lang#35344, as part of rust-lang#35233

r? @jonathandturner
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 E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Projects
None yet
Development

No branches or pull requests

2 participants