Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
()
{}