diff options
| author | Rune Tynan <runetynan@gmail.com> | 2021-01-15 20:34:15 -0500 |
|---|---|---|
| committer | Rune Tynan <runetynan@gmail.com> | 2021-01-19 14:24:25 -0500 |
| commit | 7715656edd201b8c6bbddf0040f424c27e4db4df (patch) | |
| tree | a3c2f7b0835fd4f3728d85755df926566ee29f36 /src/test/rustdoc-json/structs/plain_empty.rs | |
| parent | f09fb488f70c5965ec4f64453a6e681fbfcff56c (diff) | |
| download | rust-7715656edd201b8c6bbddf0040f424c27e4db4df.tar.gz rust-7715656edd201b8c6bbddf0040f424c27e4db4df.zip | |
Add jsondocck tool, and use it for rustdoc JSON
Diffstat (limited to 'src/test/rustdoc-json/structs/plain_empty.rs')
| -rw-r--r-- | src/test/rustdoc-json/structs/plain_empty.rs | 7 |
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 {} |
