Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
borrowck
/
borrowck-while-break.rs
blob: 293760efba5e51e5df738363a9d7deaf909b303e [
file
] [
log
] [
blame
]
fn
test
(
cond
:
bool
)
{
let
v
;
while
cond
{
v
=
3
;
break
;
}
println
!(
"{}"
,
v
);
//~ ERROR use of possibly uninitialized variable: `v`
}
fn
main
()
{
test
(
true
);
}