diff options
Diffstat (limited to 'tests/rustdoc-json/structs/unit.rs')
-rw-r--r-- | tests/rustdoc-json/structs/unit.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-json/structs/unit.rs b/tests/rustdoc-json/structs/unit.rs new file mode 100644 index 000000000..265709717 --- /dev/null +++ b/tests/rustdoc-json/structs/unit.rs @@ -0,0 +1,4 @@ +// @is "$.index[*][?(@.name=='Unit')].visibility" \"public\" +// @is "$.index[*][?(@.name=='Unit')].kind" \"struct\" +// @is "$.index[*][?(@.name=='Unit')].inner.kind" \"unit\" +pub struct Unit; |