Sign in
fuchsia
/
third_party
/
rust
/
027850569165192ce8912a985e9489e2ca5e8b65
/
.
/
tests
/
ui
/
macros
/
rfc-3086-metavar-expr
/
issue-111904.rs
blob: 3000bfed6a887bf4d5a668eaa4a25711625ca74a [
file
] [
log
] [
blame
]
#![
feature
(
macro_metavar_expr
)]
macro_rules
!
foo
{
(
$
(
$
(
$t
:
ident
),*
);*
)
=>
{
$
{
count
(
$t
,)}
}
//~^ ERROR `count` followed by a comma must have an associated
//~| ERROR expected expression, found `$`
}
fn
test
()
{
foo
!(
a
,
a
;
b
,
b
);
}
fn
main
()
{
}