mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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;
|