diff options
Diffstat (limited to 'tests/rustdoc/issue-67851-both.rs')
-rw-r--r-- | tests/rustdoc/issue-67851-both.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-67851-both.rs b/tests/rustdoc/issue-67851-both.rs new file mode 100644 index 000000000..d69b94317 --- /dev/null +++ b/tests/rustdoc/issue-67851-both.rs @@ -0,0 +1,8 @@ +// compile-flags: -Zunstable-options --document-private-items --document-hidden-items + +// @has issue_67851_both/struct.Hidden.html +#[doc(hidden)] +pub struct Hidden; + +// @has issue_67851_both/struct.Private.html +struct Private; |