diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc/document-hidden-items-15347.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc/document-hidden-items-15347.rs b/tests/rustdoc/document-hidden-items-15347.rs new file mode 100644 index 000000000..d8a760e56 --- /dev/null +++ b/tests/rustdoc/document-hidden-items-15347.rs @@ -0,0 +1,8 @@ +// compile-flags: -Z unstable-options --document-hidden-items +// https://github.com/rust-lang/rust/issues/15347 + +#![crate_name="issue_15347"] + +// @has issue_15347/fn.foo.html +#[doc(hidden)] +pub fn foo() {} |