summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_cross/hidden-use.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/inline_cross/hidden-use.rs')
-rw-r--r--tests/rustdoc/inline_cross/hidden-use.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_cross/hidden-use.rs b/tests/rustdoc/inline_cross/hidden-use.rs
new file mode 100644
index 000000000..28a4f4bac
--- /dev/null
+++ b/tests/rustdoc/inline_cross/hidden-use.rs
@@ -0,0 +1,12 @@
+// aux-build:rustdoc-hidden.rs
+// build-aux-docs
+// ignore-cross-compile
+
+extern crate rustdoc_hidden;
+
+// @has hidden_use/index.html
+// @!hasraw - 'rustdoc_hidden'
+// @!hasraw - 'Bar'
+// @!has hidden_use/struct.Bar.html
+#[doc(hidden)]
+pub use rustdoc_hidden::Bar;