Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
rfc-3086-metavar-expr
/
issue-111904.rs
blob: 3000bfed6a887bf4d5a668eaa4a25711625ca74a [
file
] [
log
] [
blame
] [
edit
]
#![
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
()
{
}