diff options
Diffstat (limited to 'src/test/rustdoc/issue-32395.rs')
-rw-r--r-- | src/test/rustdoc/issue-32395.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-32395.rs b/src/test/rustdoc/issue-32395.rs new file mode 100644 index 000000000..13468c153 --- /dev/null +++ b/src/test/rustdoc/issue-32395.rs @@ -0,0 +1,15 @@ +// aux-build:variant-struct.rs +// build-aux-docs +// ignore-cross-compile + +// @has variant_struct/enum.Foo.html +// @!has - 'pub qux' +// @!has - 'pub(crate) qux' +// @!has - 'pub Bar' +extern crate variant_struct; + +// @has issue_32395/enum.Foo.html +// @!has - 'pub qux' +// @!has - 'pub(crate) qux' +// @!has - 'pub Bar' +pub use variant_struct::Foo; |