-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a hint on iterator type errors #106728
Comments
@rustbot claim |
@clubby789 i was hoping this to be my first PR to the compiler, if accepted as necessary. :D |
@rustbot claim |
hups sorry |
I was testing the bot feature |
The 'is not an iterator' message comes from the |
thanks! |
@clubby789 is this in the right direction? #106740 |
…lstrieb Adding a hint on iterator type errors Issue reference rust-lang/rust#106728 - [x] add a case in the attribute - [x] add a test closes #106728
rust version:
rustc 1.66.0 (69f9c33d7 2022-12-12)
Do you think it would be useful to add a hint here?
Something in the lines of
Did you mean for i 0..200 {
The text was updated successfully, but these errors were encountered: