Skip to content

Commit 33edea6

Browse files
Add test for reexported hidden item with --document-hidden-items
1 parent 2db26d3 commit 33edea6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)