about summary refs log tree commit diff
path: root/src/test/rustdoc-json/structs/plain_empty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-json/structs/plain_empty.rs')
-rw-r--r--src/test/rustdoc-json/structs/plain_empty.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/structs/plain_empty.rs b/src/test/rustdoc-json/structs/plain_empty.rs
new file mode 100644
index 00000000000..9e41b1b72a2
--- /dev/null
+++ b/src/test/rustdoc-json/structs/plain_empty.rs
@@ -0,0 +1,7 @@
+// @has plain_empty.json "$.index.['0:3'].name" \"PlainEmpty\"
+// @has - "$.index.['0:3'].visibility" \"public\"
+// @has - "$.index.['0:3'].kind" \"struct\"
+// @has - "$.index.['0:3'].inner.struct_type" \"plain\"
+// @has - "$.index.['0:3'].inner.fields_stripped" false
+// @has - "$.index.['0:3'].inner.fields" []
+pub struct PlainEmpty {}