From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/rustdoc/inline_cross/hidden-use.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/rustdoc/inline_cross/hidden-use.rs (limited to 'tests/rustdoc/inline_cross/hidden-use.rs') 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; -- cgit v1.2.3