Skip to content

Commit b8845f0

Browse files
committed
Fix sub-breakage due to the changed error message.
1 parent b28a220 commit b8845f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-2509-a.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class c { //~ ERROR a class must have at least one field
1+
class c { //~ ERROR a struct must have at least one field
22
new() { }
33
}
44

0 commit comments

Comments
 (0)