blob: 35ffe3dfbfda74bcb8f1d23db69311c9e52ccd67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//@ check-pass
macro_rules! foo {
($(: $p:path)? $(: $l:lifetime)? ) => { bar! {$(: $p)? $(: $l)? } };
}
macro_rules! bar {
($(: $p:path)? $(: $l:lifetime)? ) => {};
}
foo! {: 'a }
fn main() {}
|