We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--document-hidden-items
1 parent 2db26d3 commit 33edea6Copy full SHA for 33edea6
tests/rustdoc-json/reexport/reexport_of_hidden.rs
@@ -0,0 +1,10 @@
1
+// compile-flags: --document-hidden-items
2
+
3
+// @has "$.index[*].inner[?(@.import.name=='UsedHidden')]"
4
+// @has "$.index[*][?(@.name=='Hidden')]"
5
+pub mod submodule {
6
+ #[doc(hidden)]
7
+ pub struct Hidden {}
8
+}
9
10
+pub use submodule::Hidden as UsedHidden;
0 commit comments