diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-29 21:19:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-29 21:19:51 +0200 |
| commit | 02cb4da8969ba2d9f2879df33fc13fce83012ed7 (patch) | |
| tree | 849ae1690d5419ee5faa565738f7a5285013778f /tests/rustdoc | |
| parent | 85c38454c0044d727e68cc123ff93376da62abfc (diff) | |
| parent | cdc4fa45896c2b086646c8c9c91adb8d9dc5e45f (diff) | |
| download | rust-02cb4da8969ba2d9f2879df33fc13fce83012ed7.tar.gz rust-02cb4da8969ba2d9f2879df33fc13fce83012ed7.zip | |
Rollup merge of #109726 - GuillaumeGomez:doc-hidden-crate, r=notriddle
rustdoc: Don't strip crate module Until we decide something for https://github.com/rust-lang/rust/issues/109695, rustdoc won't crash anymore because the crate folder doesn't exist. r? `@notriddle`
Diffstat (limited to 'tests/rustdoc')
| -rw-r--r-- | tests/rustdoc/issue-109695-crate-doc-hidden.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-109695-crate-doc-hidden.rs b/tests/rustdoc/issue-109695-crate-doc-hidden.rs new file mode 100644 index 00000000000..7a3e53a0d32 --- /dev/null +++ b/tests/rustdoc/issue-109695-crate-doc-hidden.rs @@ -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)] |
