1 2 3 4 5 6 7 8 9 10 11 12 13
#![feature(decl_macro)] mod inner1 { pub struct Struct {} pub mod inner2 { pub macro mac() { super::Struct } } } pub use inner1::inner2 as public;