2021-01-20 13:57:13 -06:00
|
|
|
//@ compile-flags: -Z unstable-options --generate-redirect-map
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ !has foo/private/struct.Quz.html
|
|
|
|
//@ !has foo/hidden/struct.Bar.html
|
|
|
|
//@ has foo/redirect-map.json
|
2021-01-20 13:57:13 -06:00
|
|
|
pub use private::Quz;
|
|
|
|
pub use hidden::Bar;
|
|
|
|
|
|
|
|
mod private {
|
|
|
|
pub struct Quz;
|
|
|
|
}
|
|
|
|
|
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod hidden {
|
|
|
|
pub struct Bar;
|
|
|
|
}
|
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! foo {
|
|
|
|
() => {}
|
|
|
|
}
|