rust/tests/rustdoc/inline_local/pub-re-export-28537.rs

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

21 lines
308 B
Rust
Raw Permalink Normal View History

2025-01-29 11:20:22 -07:00
// 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;
}
}
2025-01-29 11:20:22 -07:00
//@ has foo/struct.Foo.html
pub use foo::Foo;
2025-01-29 11:20:22 -07:00
//@ has foo/struct.Bar.html
pub use self::bar::Bar;