about summary refs log tree commit diff
path: root/tests/rustdoc/multiple-mods-w-same-name-doc-inline-last-item-83375.rs
blob: 4b3b467382b559940e0b5a8b1994a4172510764c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 '//ul[@class="item-table"]' 0
pub mod prelude {}