1 error[E0277]: `{integer}` is not an iterator
2 --> $DIR/integral.rs:2:14
5 | ^^ `{integer}` is not an iterator
7 = help: the trait `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 because of the requirements on the impl of `IntoIterator` for `{integer}`
10 = note: required by `into_iter`
12 error[E0277]: `u8` is not an iterator
13 --> $DIR/integral.rs:4:14
15 LL | for _ in 42 as u8 {}
16 | ^^^^^^^^ `u8` is not an iterator
18 = help: the trait `Iterator` is not implemented for `u8`
19 = 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`
20 = note: required because of the requirements on the impl of `IntoIterator` for `u8`
21 = note: required by `into_iter`
23 error[E0277]: `i8` is not an iterator
24 --> $DIR/integral.rs:6:14
26 LL | for _ in 42 as i8 {}
27 | ^^^^^^^^ `i8` is not an iterator
29 = help: the trait `Iterator` is not implemented for `i8`
30 = 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`
31 = note: required because of the requirements on the impl of `IntoIterator` for `i8`
32 = note: required by `into_iter`
34 error[E0277]: `u16` is not an iterator
35 --> $DIR/integral.rs:8:14
37 LL | for _ in 42 as u16 {}
38 | ^^^^^^^^^ `u16` is not an iterator
40 = help: the trait `Iterator` is not implemented for `u16`
41 = 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`
42 = note: required because of the requirements on the impl of `IntoIterator` for `u16`
43 = note: required by `into_iter`
45 error[E0277]: `i16` is not an iterator
46 --> $DIR/integral.rs:10:14
48 LL | for _ in 42 as i16 {}
49 | ^^^^^^^^^ `i16` is not an iterator
51 = help: the trait `Iterator` is not implemented for `i16`
52 = 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`
53 = note: required because of the requirements on the impl of `IntoIterator` for `i16`
54 = note: required by `into_iter`
56 error[E0277]: `u32` is not an iterator
57 --> $DIR/integral.rs:12:14
59 LL | for _ in 42 as u32 {}
60 | ^^^^^^^^^ `u32` is not an iterator
62 = help: the trait `Iterator` is not implemented for `u32`
63 = 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`
64 = note: required because of the requirements on the impl of `IntoIterator` for `u32`
65 = note: required by `into_iter`
67 error[E0277]: `i32` is not an iterator
68 --> $DIR/integral.rs:14:14
70 LL | for _ in 42 as i32 {}
71 | ^^^^^^^^^ `i32` is not an iterator
73 = help: the trait `Iterator` is not implemented for `i32`
74 = 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`
75 = note: required because of the requirements on the impl of `IntoIterator` for `i32`
76 = note: required by `into_iter`
78 error[E0277]: `u64` is not an iterator
79 --> $DIR/integral.rs:16:14
81 LL | for _ in 42 as u64 {}
82 | ^^^^^^^^^ `u64` is not an iterator
84 = help: the trait `Iterator` is not implemented for `u64`
85 = 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`
86 = note: required because of the requirements on the impl of `IntoIterator` for `u64`
87 = note: required by `into_iter`
89 error[E0277]: `i64` is not an iterator
90 --> $DIR/integral.rs:18:14
92 LL | for _ in 42 as i64 {}
93 | ^^^^^^^^^ `i64` is not an iterator
95 = help: the trait `Iterator` is not implemented for `i64`
96 = 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`
97 = note: required because of the requirements on the impl of `IntoIterator` for `i64`
98 = note: required by `into_iter`
100 error[E0277]: `usize` is not an iterator
101 --> $DIR/integral.rs:20:14
103 LL | for _ in 42 as usize {}
104 | ^^^^^^^^^^^ `usize` is not an iterator
106 = help: the trait `Iterator` is not implemented for `usize`
107 = 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`
108 = note: required because of the requirements on the impl of `IntoIterator` for `usize`
109 = note: required by `into_iter`
111 error[E0277]: `isize` is not an iterator
112 --> $DIR/integral.rs:22:14
114 LL | for _ in 42 as isize {}
115 | ^^^^^^^^^^^ `isize` is not an iterator
117 = help: the trait `Iterator` is not implemented for `isize`
118 = 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`
119 = note: required because of the requirements on the impl of `IntoIterator` for `isize`
120 = note: required by `into_iter`
122 error[E0277]: `{float}` is not an iterator
123 --> $DIR/integral.rs:24:14
125 LL | for _ in 42.0 {}
126 | ^^^^ `{float}` is not an iterator
128 = help: the trait `Iterator` is not implemented for `{float}`
129 = note: required because of the requirements on the impl of `IntoIterator` for `{float}`
130 = note: required by `into_iter`
132 error: aborting due to 12 previous errors
134 For more information about this error, try `rustc --explain E0277`.