0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 21:12:18 +01:00
rust/tests/rustdoc/multiple-mods-w-same-name-doc-inline-83375.rs
2024-06-24 11:08:41 +02:00

18 lines
357 B
Rust

// https://github.com/rust-lang/rust/issues/83375
#![crate_name = "foo"]
pub mod sub {
pub struct Item;
pub mod prelude {
pub use super::Item;
}
}
//@ 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 {}
#[doc(inline)]
pub use sub::*;