Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
macros
/
span-covering-argument-1.rs
blob: 9b9506c80b150284adb10ed6b08c699b541d1c24 [
file
] [
log
] [
blame
]
macro_rules
!
bad
{
(
$s
:
ident whatever
)
=>
{
{
let
$s
=
0
;
*&
mut
$s
=
0
;
//~^ ERROR cannot borrow `foo` as mutable, as it is not declared as mutable [E0596]
}
}
}
fn
main
()
{
bad
!(
foo whatever
);
}