Update error comment
This commit is contained in:
parent
d6f713be3f
commit
549de0d47a
1 changed files with 1 additions and 1 deletions
|
|
@ -14,6 +14,6 @@ struct Monster {
|
|||
|
||||
|
||||
fn main() {
|
||||
let _m = Monster(); //~ ERROR `Monster` is a struct variant name, but
|
||||
let _m = Monster(); //~ ERROR `Monster` is the name of a struct or
|
||||
//~^ HELP did you mean to write: `Monster { /* fields */ }`?
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue