rust/tests/ui/for-loop-while
Gurinder Singh 6289ed8428 Remove note about iteration count in coerce
and replace it with a simple note suggesting
returning a value.

The type mismatch error was never due to
how many times the loop iterates. It is more
because of the peculiar structure of what the for
loop desugars to. So the note talking about
iteration count didn't make sense
2024-04-30 12:46:59 +05:30
..
auto-loop.rs
break-outside-loop.rs
break-outside-loop.stderr
break-value.rs
break-while-condition.rs
break-while-condition.stderr
break.rs
cleanup-rvalue-during-if-and-while.rs
for-destruct.rs
for-loop-goofiness.rs
for-loop-has-unit-body.rs
for-loop-into-iterator.rs
for-loop-lifetime-of-unbound-values.rs
for-loop-macro.rs
for-loop-mut-ref-element.rs
for-loop-no-std.rs
for-loop-panic.rs
for-loop-unconstrained-element-type-i32-fallback.rs
foreach-external-iterators-break.rs
foreach-external-iterators-hashmap-break-restart.rs
foreach-external-iterators-hashmap.rs
foreach-external-iterators-loop.rs
foreach-external-iterators-nested.rs
foreach-external-iterators.rs
foreach-nested.rs
foreach-put-structured.rs
foreach-simple-outer-slot.rs
issue-1257.rs
issue-2216.rs
issue-51345.rs
issue-69841.rs
label_break_value_invalid.rs
label_break_value_invalid.stderr
label_break_value.rs
labeled-break.rs
linear-for-loop.rs
liveness-assign-imm-local-after-loop.rs
liveness-loop-break.rs
liveness-move-in-loop.rs
long-while.rs
loop-break-cont-1.rs
loop-break-cont.rs
loop-break-value.rs
loop-diverges.rs
loop-label-shadowing.rs
loop-labeled-break-value.rs
loop-no-reinit-needed-post-bot.rs
loop-scope.rs
while-cont.rs
while-flow-graph.rs
while-label.rs
while-let-2.rs
while-let-2.stderr
while-let.rs
while-loop-constraints-2.rs
while-prelude-drop.rs
while-with-break.rs
while.rs