Skip to content

Commit 549de0d

Browse files
Update error comment
1 parent d6f713b commit 549de0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-6702.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ struct Monster {
1414

1515

1616
fn main() {
17-
let _m = Monster(); //~ ERROR `Monster` is a struct variant name, but
17+
let _m = Monster(); //~ ERROR `Monster` is the name of a struct or
1818
//~^ HELP did you mean to write: `Monster { /* fields */ }`?
1919
}

0 commit comments

Comments
 (0)