Rollup merge of #27491 - GuillaumeGomez:patch-4, r=Manishearth
This commit is contained in:
commit
6be272cff5
2 changed files with 3 additions and 3 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