Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
issues
/
issue-26237.rs
blob: 71e96677d4bbc30e51e52efc8c833bde5b57a2d5 [
file
] [
log
] [
blame
]
macro_rules
!
macro_panic
{
(
$not_a_function
:
expr
,
$some_argument
:
ident
)
=>
{
$not_a_function
(
$some_argument
)
}
}
fn
main
()
{
let
mut
value_a
=
0
;
let
mut
value_b
=
0
;
macro_panic
!(
value_a
,
value_b
);
//~^ ERROR expected function, found `{integer}`
}