Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-6596-2.rs
blob: 8f7c98d9a67a77baaee8f3f6332d56869631439c [
file
] [
log
] [
blame
]
#![
feature
(
macro_rules
)]
macro_rules
!
g
{
(
$inp
:
ident
)
=>
(
{
$inp $nonexistent
}
//~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `$`
);
}
fn
main
()
{
let
foo
=
0
;
g
!(
foo
);
}