rust/tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
357 B
Rust
Raw Normal View History

2024-05-21 19:28:30 +00:00
// https://github.com/rust-lang/rust/issues/83375
2022-09-10 01:04:47 +00:00
#![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
2022-09-10 01:04:47 +00:00
pub mod prelude {}