Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
borrowck
/
borrowck-while.rs
blob: 6b3220c7d8591970e90a89cc7b211a1fe5bb7dc9 [
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
();
}