Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-6596-2.rs
blob: b19700efe5ad3e988813be09da5bbf24a16198ec [
file
] [
log
] [
blame
]
#![
feature
(
macro_rules
)]
macro_rules
!
g
{
(
$inp
:
ident
)
=>
(
{
$inp $nonexistent
}
//~^ ERROR unknown macro variable `nonexistent`
);
}
fn
main
()
{
let
foo
=
0
;
g
!(
foo
);
}