diff options
Diffstat (limited to 'tests/rustdoc/render-enum-variant-structlike-32395.rs')
| -rw-r--r-- | tests/rustdoc/render-enum-variant-structlike-32395.rs | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/tests/rustdoc/render-enum-variant-structlike-32395.rs b/tests/rustdoc/render-enum-variant-structlike-32395.rs new file mode 100644 index 00000000000..d419c75b71c --- /dev/null +++ b/tests/rustdoc/render-enum-variant-structlike-32395.rs @@ -0,0 +1,17 @@ +// aux-build:variant-struct.rs +// build-aux-docs +// ignore-cross-compile + +#![crate_name="issue_32395"] + +// @has variant_struct/enum.Foo.html +// @!hasraw - 'pub qux' +// @!hasraw - 'pub(crate) qux' +// @!hasraw - 'pub Bar' +extern crate variant_struct; + +// @has issue_32395/enum.Foo.html +// @!hasraw - 'pub qux' +// @!hasraw - 'pub(crate) qux' +// @!hasraw - 'pub Bar' +pub use variant_struct::Foo; | 
