summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_local/issue-28537.rs
blob: da9cc4c940dbe6074a453b5098af4e6a1937c4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[doc(hidden)]
pub mod foo {
    pub struct Foo;
}

mod bar {
    pub use self::bar::Bar;
    mod bar {
        pub struct Bar;
    }
}

// @has issue_28537/struct.Foo.html
pub use foo::Foo;

// @has issue_28537/struct.Bar.html
pub use self::bar::Bar;