summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/enum-variant-private-46767.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/enum-variant-private-46767.rs')
-rw-r--r--tests/rustdoc/enum-variant-private-46767.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/enum-variant-private-46767.rs b/tests/rustdoc/enum-variant-private-46767.rs
new file mode 100644
index 000000000..6386aa75a
--- /dev/null
+++ b/tests/rustdoc/enum-variant-private-46767.rs
@@ -0,0 +1,10 @@
+// https://github.com/rust-lang/rust/issues/46767
+#![crate_name = "foo"]
+
+mod private {
+ pub enum Enum{Variant}
+}
+pub use self::private::Enum::*;
+
+// @!has-dir foo/private
+// @!has foo/index.html '//a/@href' 'private/index.html'