diff options
| author | Michael Howell <michael@notriddle.com> | 2024-05-21 12:28:34 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-05-21 12:28:34 -0700 |
| commit | 55bd054a21533cbaa02836b0ca125c2eaaa4b8f4 (patch) | |
| tree | 056ce446f62d15e616fb53cfbd90fd3aac1e8aff /tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs | |
| parent | 4486c24db3ca1c698b34ea08bee15194774b53df (diff) | |
| download | rust-55bd054a21533cbaa02836b0ca125c2eaaa4b8f4.tar.gz rust-55bd054a21533cbaa02836b0ca125c2eaaa4b8f4.zip | |
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs')
| -rw-r--r-- | tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs b/tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs new file mode 100644 index 00000000000..7bad825b35f --- /dev/null +++ b/tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs @@ -0,0 +1,17 @@ +// https://github.com/rust-lang/rust/issues/83375 +#![crate_name = "foo"] + +pub mod sub { + pub struct Item; + + pub mod prelude { + pub use super::Item; + } +} + +#[doc(inline)] +pub use sub::*; + +// @count foo/index.html '//a[@class="mod"][@title="mod foo::prelude"]' 1 +// @count foo/prelude/index.html '//div[@class="item-row"]' 0 +pub mod prelude {} |
