]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/redirect-map.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / rustdoc / redirect-map.rs
1 // compile-flags: -Z unstable-options --generate-redirect-map
2
3 #![crate_name = "foo"]
4
5 // @!has foo/private/struct.Quz.html
6 // @!has foo/hidden/struct.Bar.html
7 // @has foo/redirect-map.json
8 pub use private::Quz;
9 pub use hidden::Bar;
10
11 mod private {
12     pub struct Quz;
13 }
14
15 #[doc(hidden)]
16 pub mod hidden {
17     pub struct Bar;
18 }
19
20 #[macro_export]
21 macro_rules! foo {
22   () => {}
23 }