Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
for-loop-while
/
for-loop-mut-ref-element.rs
blob: ba240f657624442b4f50664c8cbe37a8ee8d000a [
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
)
{}
}