fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
561 B13 linesraw
1error[E0277]: `{float}` is not an iterator
2  --> $DIR/float_iterator_hint.rs:4:14
3   |
4LL |     for i in 0.2 {
5   |              ^^^ `{float}` is not an iterator
6   |
7   = help: the trait `Iterator` is not implemented for `{float}`
8   = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end`
9   = note: required for `{float}` to implement `IntoIterator`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0277`.