about summary refs log tree commit diff
path: root/tests/rustdoc/inline_local/pub-re-export-28537.rs
blob: 0e9836c7ceeabda694b9cb999dc06dfb101ad5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// https://github.com/rust-lang/rust/issues/28537
#![crate_name="foo"]

#[doc(hidden)]
pub mod foo {
    pub struct Foo;
}

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

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

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