Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
da7ada584a3e5c3467b8b9f344b4a0f2a81ce32a
/
.
/
src
/
test
/
ui
/
macros
/
issue-70446.rs
blob: 407094d55ffef63d3dbceaa8eea7f3c9c1df3a29 [
file
] [
log
] [
blame
]
// check-pass
macro_rules
!
foo
{
(
$
(:
$p
:
path
)?
$
(:
$l
:
lifetime
)?
)
=>
{
bar
!
{
$
(:
$p
)?
$
(:
$l
)?
}
};
}
macro_rules
!
bar
{
(
$
(:
$p
:
path
)?
$
(:
$l
:
lifetime
)?
)
=>
{};
}
foo
!
{:
'
a
}
fn
main
()
{}