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

E0423 needs to be updated to new format #35796

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

E0423 needs to be updated to new format #35796

sophiajt opened this issue Aug 18, 2016 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

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

E0423 needs a span_label, updating it from:

error[E0423]: `Foo` is the name of a struct or struct variant, but this expression uses it like a function name
  --> src/test/compile-fail/E0423.rs:14:13
   |
14 |     let f = Foo(); //~ ERROR E0423
   |             ^^^
   |
   = help: did you mean to write: `Foo { /* fields */ }`?

To:

error[E0423]: `Foo` is the name of a struct or struct variant, but this expression uses it like a function name
  --> src/test/compile-fail/E0423.rs:14:13
   |
14 |     let f = Foo(); //~ ERROR E0423
   |             ^^^ struct called like a function
   |
   = help: did you mean to write: `Foo { /* fields */ }`?
@bstrie
Copy link
Contributor

bstrie commented Sep 22, 2016

Fixed by #35820.

@bstrie bstrie closed this as completed Sep 22, 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

2 participants