diff options
Diffstat (limited to 'src/test/rustdoc-js/struct-like-variant.rs')
-rw-r--r-- | src/test/rustdoc-js/struct-like-variant.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc-js/struct-like-variant.rs b/src/test/rustdoc-js/struct-like-variant.rs new file mode 100644 index 000000000..2f52a319a --- /dev/null +++ b/src/test/rustdoc-js/struct-like-variant.rs @@ -0,0 +1,8 @@ +#![crate_name = "struct_like_variant"] + +pub enum Enum { + Bar { + /// This is a name. + name: String + } +} |