diff options
Diffstat (limited to 'tests/rustdoc/inline_local/hidden-use.rs')
-rw-r--r-- | tests/rustdoc/inline_local/hidden-use.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_local/hidden-use.rs b/tests/rustdoc/inline_local/hidden-use.rs new file mode 100644 index 000000000..de512fb26 --- /dev/null +++ b/tests/rustdoc/inline_local/hidden-use.rs @@ -0,0 +1,10 @@ +mod private { + pub struct Foo {} +} + +// @has hidden_use/index.html +// @!hasraw - 'private' +// @!hasraw - 'Foo' +// @!has hidden_use/struct.Foo.html +#[doc(hidden)] +pub use private::Foo; |