Closed
Description
Exemple Use Case:
It's possibly common enough for people using several languages to apply the wrong, easy to recognize, construct.
Recognizing this construct in case an error is detected would avoid a sequence of suboptimal hints.
Here's the exemple of typing for let thing of some_iterator
(JavaScript inspired):
A more relevant hint would suggest the typical Rust iteration.