Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-26093.rs
blob: c838515caf997e6f6a8ba6ad2a06ea124256354a [
file
] [
log
] [
blame
]
macro_rules
!
not_a_place
{
(
$thing
:
expr
)
=>
{
$thing
=
42
;
//~^ ERROR invalid left-hand side of assignment
$thing
+=
42
;
//~^ ERROR invalid left-hand side of assignment
}
}
fn
main
()
{
not_a_place
!(
99
);
}