diff options
Diffstat (limited to 'src/test/rustdoc-js/struct-like-variant.js')
-rw-r--r-- | src/test/rustdoc-js/struct-like-variant.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc-js/struct-like-variant.js b/src/test/rustdoc-js/struct-like-variant.js new file mode 100644 index 000000000..f6deea51e --- /dev/null +++ b/src/test/rustdoc-js/struct-like-variant.js @@ -0,0 +1,7 @@ +const QUERY = 'name'; + +const EXPECTED = { + 'others': [ + { 'path': 'struct_like_variant::Enum::Bar', 'name': 'name', 'desc': 'This is a name.' }, + ], +}; |