2025-01-29 11:20:22 -07:00
|
|
|
// https://github.com/rust-lang/rust/issues/32343
|
|
|
|
#![crate_name="foobar"]
|
|
|
|
|
|
|
|
//@ !has foobar/struct.Foo.html
|
|
|
|
//@ has foobar/index.html
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has - '//code' 'pub use foo::Foo'
|
|
|
|
//@ !has - '//code/a' 'Foo'
|
2016-03-22 20:26:33 +01:00
|
|
|
#[doc(no_inline)]
|
|
|
|
pub use foo::Foo;
|
|
|
|
|
2025-01-29 11:20:22 -07:00
|
|
|
//@ !has foobar/struct.Bar.html
|
|
|
|
//@ has foobar/index.html
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has - '//code' 'pub use foo::Bar'
|
|
|
|
//@ has - '//code/a' 'Bar'
|
2016-03-22 20:26:33 +01:00
|
|
|
#[doc(no_inline)]
|
|
|
|
pub use foo::Bar;
|
|
|
|
|
|
|
|
mod foo {
|
|
|
|
pub struct Foo;
|
|
|
|
pub struct Bar;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub mod bar {
|
2025-01-29 11:20:22 -07:00
|
|
|
//@ has foobar/bar/struct.Bar.html
|
2016-03-22 20:26:33 +01:00
|
|
|
pub use ::foo::Bar;
|
|
|
|
}
|