Add regression test for #109695
This commit is contained in:
parent
71ff7ef17c
commit
cdc4fa4589
8
tests/rustdoc/issue-109695-crate-doc-hidden.rs
Normal file
8
tests/rustdoc/issue-109695-crate-doc-hidden.rs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// This test ensures that even if the crate module is `#[doc(hidden)]`, the file
|
||||||
|
// is generated.
|
||||||
|
|
||||||
|
// @has 'foo/index.html'
|
||||||
|
// @has 'foo/all.html'
|
||||||
|
|
||||||
|
#![crate_name = "foo"]
|
||||||
|
#![doc(hidden)]
|
Loading…
Reference in New Issue
Block a user