about summary refs log tree commit diff
path: root/tests/rustdoc/enum-variant-private-46767.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
committerMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
commit0f466b06d197729ebeeb72a9503f0a878749ec87 (patch)
treed2b01d50ecca72403516f436c048208fade45cd3 /tests/rustdoc/enum-variant-private-46767.rs
parent46ecc10c6951a2a0e52d93fe5d3acae9743e3ab9 (diff)
downloadrust-0f466b06d197729ebeeb72a9503f0a878749ec87.tar.gz
rust-0f466b06d197729ebeeb72a9503f0a878749ec87.zip
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/enum-variant-private-46767.rs')
-rw-r--r--tests/rustdoc/enum-variant-private-46767.rs9
1 files changed, 9 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 00000000000..ef6ed104b74
--- /dev/null
+++ b/tests/rustdoc/enum-variant-private-46767.rs
@@ -0,0 +1,9 @@
+#![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'