Add test for reexported hidden item with --document-hidden-items

This commit is contained in:
Guillaume Gomez 2023-11-08 15:44:29 +01:00
parent 2db26d3d55
commit 33edea60f0

View File

@ -0,0 +1,10 @@
// compile-flags: --document-hidden-items
// @has "$.index[*].inner[?(@.import.name=='UsedHidden')]"
// @has "$.index[*][?(@.name=='Hidden')]"
pub mod submodule {
#[doc(hidden)]
pub struct Hidden {}
}
pub use submodule::Hidden as UsedHidden;