]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_local/issue-28537.rs
Rollup merge of #107724 - klensy:imports, r=Mark-Simulacrum
[rust.git] / tests / rustdoc / inline_local / issue-28537.rs
1 #[doc(hidden)]
2 pub mod foo {
3     pub struct Foo;
4 }
5
6 mod bar {
7     pub use self::bar::Bar;
8     mod bar {
9         pub struct Bar;
10     }
11 }
12
13 // @has issue_28537/struct.Foo.html
14 pub use foo::Foo;
15
16 // @has issue_28537/struct.Bar.html
17 pub use self::bar::Bar;