Closed
Description
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 */ }`?
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Rollup merge of rust-lang#35820 - knight42:update-error-msg, r=jonath…
bstrie commentedon Sep 22, 2016
Fixed by #35820.