summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-83375-multiple-mods-w-same-name-doc-inline-last-item.rs
blob: d3a7a870b580a29d47a4bd3f927962744fad3344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![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="foo::prelude mod"]' 1
// @count foo/prelude/index.html '//div[@class="item-row"]' 0
pub mod prelude {}