summary refs log tree commit diff
path: root/tests/rustdoc/inline_local/issue-28537.rs
blob: d5ba94d2e6c9e88644b7b343186eaf6e9bbcd206 (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;