]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/macro-indirect-use.rs
Fix problem noticed in PR106859 with char -> u8 suggestion
[rust.git] / tests / rustdoc / macro-indirect-use.rs
1 // Checks that it is possible to make a macro public through a `pub use` of its
2 // parent module.
3 //
4 // This is a regression test for issue #87257.
5
6 #![feature(decl_macro)]
7
8 mod outer {
9     pub mod inner {
10         pub macro some_macro() {}
11     }
12 }
13
14 // @has macro_indirect_use/inner/index.html
15 // @has macro_indirect_use/inner/macro.some_macro.html
16 pub use outer::inner;