rust/tests/rustdoc/inline_local/issue-28537.rs
2023-01-11 09:32:08 +00:00

18 lines
252 B
Rust

#[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;