rust/tests/ui/definition-reachable/auxiliary/nested-fn-macro.rs
2023-01-11 09:32:08 +00:00

12 lines
130 B
Rust

#![feature(decl_macro)]
mod n {
pub(crate) mod p {
pub fn f() -> i32 { 12 }
}
}
pub macro m() {
n::p::f()
}