mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
24 lines
374 B
Rust
24 lines
374 B
Rust
// compile-flags: -Z unstable-options --generate-redirect-map
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
// @!has foo/private/struct.Quz.html
|
|
// @!has foo/hidden/struct.Bar.html
|
|
// @has foo/redirect-map.json
|
|
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 {
|
|
() => {}
|
|
}
|