mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
14 lines
190 B
Rust
14 lines
190 B
Rust
#![feature(decl_macro)]
|
|
|
|
mod inner1 {
|
|
pub struct Struct {}
|
|
|
|
pub mod inner2 {
|
|
pub macro mac() {
|
|
super::Struct
|
|
}
|
|
}
|
|
}
|
|
|
|
pub use inner1::inner2 as public;
|