Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
macros
/
issue-61033-1.rs
blob: 18df3f6ee94c1e173e46509f9d35d0ebf0971762 [
file
] [
log
] [
blame
]
// Regression test for issue #61033.
macro_rules
!
test1
{
(
$x
:
ident
,
$
(
$tt
:
tt
)*)
=>
{
$
(
$tt
)+
}
//~ ERROR this must repeat at least once
}
fn
main
()
{
test1
!(
x
,);
let
_recovery_witness
:
()
=
0
;
//~ ERROR mismatched types
}