2021-08-06 00:09:25 -05:00
|
|
|
// Checks that it is possible to make a macro public through a `pub use` of its
|
|
|
|
// parent module.
|
|
|
|
//
|
|
|
|
// This is a regression test for issue #87257.
|
|
|
|
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
|
|
|
|
mod outer {
|
|
|
|
pub mod inner {
|
|
|
|
pub macro some_macro() {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has macro_indirect_use/inner/index.html
|
|
|
|
//@ has macro_indirect_use/inner/macro.some_macro.html
|
2021-08-06 00:09:25 -05:00
|
|
|
pub use outer::inner;
|