Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
borrowck
/
borrowck-for-loop-uninitialized-binding.rs
blob: f619c045b250f1264375b22affd6e197894afc19 [
file
] [
log
] [
blame
] [
edit
]
fn
f
()
->
isize
{
let
mut
x
:
isize
;
for
_ in
0.
.
0
{
x
=
10
;
}
return
x
;
//~ ERROR E0381
}
fn
main
()
{
f
();
}