Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
test
/
compile-fail
/
liveness-while.rs
blob: cfa555b1e352e165f81cd08593f16db12c86b6fd [
file
] [
log
] [
blame
]
fn
f
()
->
int
{
let
mut
x
:
int
;
while
1
==
1
{
x
=
10
;
}
return
x
;
//~ ERROR use of possibly uninitialized variable: `x`
}
fn
main
()
{
f
();
}