Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
binop
/
false-binop-caused-by-missing-semi.fixed
blob: b47372c90648640cbdbfc7be80eaa4f55aae6bf7 [
file
] [
log
] [
blame
]
// run-rustfix
fn foo
()
{}
fn main
()
{
let
mut y
=
42
;
let
x
=
&
mut y
;
foo
();
*
x
=
0
;
//~ ERROR invalid left-hand side of assignment
let
_
=
x
;
println
!(
"{y}"
);
}