summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-33069.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-33069.rs')
-rw-r--r--tests/rustdoc/issue-33069.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-33069.rs b/tests/rustdoc/issue-33069.rs
new file mode 100644
index 000000000..0213a53ca
--- /dev/null
+++ b/tests/rustdoc/issue-33069.rs
@@ -0,0 +1,10 @@
+pub trait Bar {}
+
+#[doc(hidden)]
+pub mod hidden {
+ pub struct Foo;
+}
+
+// @has issue_33069/trait.Bar.html
+// @!has - '//code' 'impl Bar for Foo'
+impl Bar for hidden::Foo {}