blob: c5393703f70919687a92b223d99b6bb6f244453c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#[macro_use] mod bleh {
pub macro_rules! foo { //~ ERROR can't qualify macro_rules invocation
($n:ident) => (
fn $n () -> i32 {
1
}
)
}
}
foo!(meh);
fn main() {
println!("{}", meh());
}
|