-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
rust version: rustc 1.66.0 (69f9c33d7 2022-12-12)
error[E0277]: `{float}` is not an iterator
--> tests/core.rs:44:14
|
44 | for i in 0.200 {
| ^^^^^ `{float}` is not an iterator
Do you think it would be useful to add a hint here?
Something in the lines of Did you mean for i 0..200 {
fmease, Noratrieb and krtab
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.