Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-20261.rs
blob: 528393606f3809293610f00a1137ccdf52e2accb [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
// N.B., this (almost) typechecks when default binding modes are enabled.
for
(
ref
i
,)
in
[].
iter
()
{
i
.
clone
();
//~^ ERROR type annotations needed
}
}