Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
macros
/
issue-70446.rs
blob: 35ffe3dfbfda74bcb8f1d23db69311c9e52ccd67 [
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
()
{}