rust/tests/rustdoc/inline_local/issue-28537.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
252 B
Rust
Raw Normal View History

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