Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
for-loop-while
/
for-loop-mut-ref-element.rs
blob: a3d82ace9e25e6dbbf83b059bcdb5efaa2895ddd [
file
] [
log
] [
blame
]
// run-pass
// Tests that for loops can bind elements as mutable references
fn
main
()
{
for
ref
mut
_a in std
::
iter
::
once
(
true
)
{}
}