Disallow shared structs having 0 fields
diff --git a/tests/ui/empty_struct.stderr b/tests/ui/empty_struct.stderr
new file mode 100644
index 0000000..612476b
--- /dev/null
+++ b/tests/ui/empty_struct.stderr
@@ -0,0 +1,5 @@
+error: structs without any fields are not supported
+ --> $DIR/empty_struct.rs:3:5
+  |
+3 |     struct Empty {}
+  |     ^^^^^^^^^^^^^^^