fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0277]: `{integer}` is not an iterator 2 --> $DIR/integral.rs:2:14 3 | 4LL | for _ in 42 {} 5 | ^^ `{integer}` is not an iterator 6 | 7 = help: the trait `std::iter::Iterator` is not implemented for `{integer}` 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 by `std::iter::IntoIterator::into_iter` 10 11error[E0277]: `u8` is not an iterator 12 --> $DIR/integral.rs:4:14 13 | 14LL | for _ in 42 as u8 {} 15 | ^^^^^^^^ `u8` is not an iterator 16 | 17 = help: the trait `std::iter::Iterator` is not implemented for `u8` 18 = 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` 19 = note: required by `std::iter::IntoIterator::into_iter` 20 21error[E0277]: `i8` is not an iterator 22 --> $DIR/integral.rs:6:14 23 | 24LL | for _ in 42 as i8 {} 25 | ^^^^^^^^ `i8` is not an iterator 26 | 27 = help: the trait `std::iter::Iterator` is not implemented for `i8` 28 = 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` 29 = note: required by `std::iter::IntoIterator::into_iter` 30 31error[E0277]: `u16` is not an iterator 32 --> $DIR/integral.rs:8:14 33 | 34LL | for _ in 42 as u16 {} 35 | ^^^^^^^^^ `u16` is not an iterator 36 | 37 = help: the trait `std::iter::Iterator` is not implemented for `u16` 38 = 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` 39 = note: required by `std::iter::IntoIterator::into_iter` 40 41error[E0277]: `i16` is not an iterator 42 --> $DIR/integral.rs:10:14 43 | 44LL | for _ in 42 as i16 {} 45 | ^^^^^^^^^ `i16` is not an iterator 46 | 47 = help: the trait `std::iter::Iterator` is not implemented for `i16` 48 = 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` 49 = note: required by `std::iter::IntoIterator::into_iter` 50 51error[E0277]: `u32` is not an iterator 52 --> $DIR/integral.rs:12:14 53 | 54LL | for _ in 42 as u32 {} 55 | ^^^^^^^^^ `u32` is not an iterator 56 | 57 = help: the trait `std::iter::Iterator` is not implemented for `u32` 58 = 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` 59 = note: required by `std::iter::IntoIterator::into_iter` 60 61error[E0277]: `i32` is not an iterator 62 --> $DIR/integral.rs:14:14 63 | 64LL | for _ in 42 as i32 {} 65 | ^^^^^^^^^ `i32` is not an iterator 66 | 67 = help: the trait `std::iter::Iterator` is not implemented for `i32` 68 = 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` 69 = note: required by `std::iter::IntoIterator::into_iter` 70 71error[E0277]: `u64` is not an iterator 72 --> $DIR/integral.rs:16:14 73 | 74LL | for _ in 42 as u64 {} 75 | ^^^^^^^^^ `u64` is not an iterator 76 | 77 = help: the trait `std::iter::Iterator` is not implemented for `u64` 78 = 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` 79 = note: required by `std::iter::IntoIterator::into_iter` 80 81error[E0277]: `i64` is not an iterator 82 --> $DIR/integral.rs:18:14 83 | 84LL | for _ in 42 as i64 {} 85 | ^^^^^^^^^ `i64` is not an iterator 86 | 87 = help: the trait `std::iter::Iterator` is not implemented for `i64` 88 = 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` 89 = note: required by `std::iter::IntoIterator::into_iter` 90 91error[E0277]: `usize` is not an iterator 92 --> $DIR/integral.rs:20:14 93 | 94LL | for _ in 42 as usize {} 95 | ^^^^^^^^^^^ `usize` is not an iterator 96 | 97 = help: the trait `std::iter::Iterator` is not implemented for `usize` 98 = 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` 99 = note: required by `std::iter::IntoIterator::into_iter` 100 101error[E0277]: `isize` is not an iterator 102 --> $DIR/integral.rs:22:14 103 | 104LL | for _ in 42 as isize {} 105 | ^^^^^^^^^^^ `isize` is not an iterator 106 | 107 = help: the trait `std::iter::Iterator` is not implemented for `isize` 108 = 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` 109 = note: required by `std::iter::IntoIterator::into_iter` 110 111error[E0277]: `{float}` is not an iterator 112 --> $DIR/integral.rs:24:14 113 | 114LL | for _ in 42.0 {} 115 | ^^^^ `{float}` is not an iterator 116 | 117 = help: the trait `std::iter::Iterator` is not implemented for `{float}` 118 = note: required by `std::iter::IntoIterator::into_iter` 119 120error: aborting due to 12 previous errors 121 122For more information about this error, try `rustc --explain E0277`.