Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
issue-6596-2.rs
blob: 8401c4a9d6cfd9ddc6787e3aa7a055ca163a78c0 [
file
] [
log
] [
blame
] [
edit
]
macro_rules
!
g
{
(
$inp
:
ident
)
=>
(
{
$inp $nonexistent
}
//~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `$`
);
}
fn
main
()
{
let
foo
=
0
;
g
!(
foo
);
}