]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/auxiliary/macro_pub_in_module.rs
Update test assertions (showcases bug)
[rust.git] / src / test / rustdoc / auxiliary / macro_pub_in_module.rs
1 // edition:2018
2
3 #![feature(decl_macro)]
4 #![crate_name = "external_crate"]
5
6 pub mod some_module {
7     /* == Make sure the logic is not affected by a re-export == */
8     mod private {
9         pub macro external_macro() {}
10     }
11
12     pub use private::external_macro;
13 }