Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
borrowck
/
immutable-arg.rs
blob: 2352d1bbe64565b78ab09e265a842878825e4fe5 [
file
] [
log
] [
blame
]
fn
foo
(
_x
:
u32
)
{
_x
=
4
;
//~^ ERROR cannot assign to immutable argument `_x`
}
fn
main
()
{}