]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-70446.rs
Merge commit 'f51aade56f93175dde89177a92e3669ebd8e7592' into clippyup
[rust.git] / src / test / ui / macros / issue-70446.rs
1 // check-pass
2
3 macro_rules! foo {
4     ($(: $p:path)? $(: $l:lifetime)? ) => { bar! {$(: $p)? $(: $l)? } };
5 }
6
7 macro_rules! bar {
8     ($(: $p:path)? $(: $l:lifetime)? ) => {};
9 }
10
11 foo! {: 'a }
12
13 fn main() {}