We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28a220 commit b8845f0Copy full SHA for b8845f0
src/test/compile-fail/issue-2509-a.rs
@@ -1,4 +1,4 @@
1
-class c { //~ ERROR a class must have at least one field
+class c { //~ ERROR a struct must have at least one field
2
new() { }
3
}
4
0 commit comments