Sign in
fuchsia
/
third_party
/
rust
/
867ce769b6a27c8f359eb6573f5da8b34677d055
/
.
/
src
/
test
/
ui
/
borrowck
/
borrowck-while.rs
blob: 4274fa997a0abddad5fdba435f65220f5aaf14c4 [
file
] [
log
] [
blame
]
fn
f
()
->
isize
{
let
mut
x
:
isize
;
while
1
==
1
{
x
=
10
;
}
return
x
;
//~ ERROR use of possibly uninitialized variable: `x`
}
fn
main
()
{
f
();
}