-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints
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
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints