]> git.lizzy.rs Git - rust.git/blob - src/test/ui/iterators/integral.stderr
Allow combining -Cprofile-generate and -Cpanic=unwind when targeting
[rust.git] / src / test / ui / iterators / integral.stderr
1 error[E0277]: `{integer}` is not an iterator
2   --> $DIR/integral.rs:2:14
3    |
4 LL |     for _ in 42 {}
5    |              ^^ `{integer}` is not an iterator
6    |
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`
11
12 error[E0277]: `u8` is not an iterator
13   --> $DIR/integral.rs:4:14
14    |
15 LL |     for _ in 42 as u8 {}
16    |              ^^^^^^^^ `u8` is not an iterator
17    |
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`
22
23 error[E0277]: `i8` is not an iterator
24   --> $DIR/integral.rs:6:14
25    |
26 LL |     for _ in 42 as i8 {}
27    |              ^^^^^^^^ `i8` is not an iterator
28    |
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`
33
34 error[E0277]: `u16` is not an iterator
35   --> $DIR/integral.rs:8:14
36    |
37 LL |     for _ in 42 as u16 {}
38    |              ^^^^^^^^^ `u16` is not an iterator
39    |
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`
44
45 error[E0277]: `i16` is not an iterator
46   --> $DIR/integral.rs:10:14
47    |
48 LL |     for _ in 42 as i16 {}
49    |              ^^^^^^^^^ `i16` is not an iterator
50    |
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`
55
56 error[E0277]: `u32` is not an iterator
57   --> $DIR/integral.rs:12:14
58    |
59 LL |     for _ in 42 as u32 {}
60    |              ^^^^^^^^^ `u32` is not an iterator
61    |
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`
66
67 error[E0277]: `i32` is not an iterator
68   --> $DIR/integral.rs:14:14
69    |
70 LL |     for _ in 42 as i32 {}
71    |              ^^^^^^^^^ `i32` is not an iterator
72    |
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`
77
78 error[E0277]: `u64` is not an iterator
79   --> $DIR/integral.rs:16:14
80    |
81 LL |     for _ in 42 as u64 {}
82    |              ^^^^^^^^^ `u64` is not an iterator
83    |
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`
88
89 error[E0277]: `i64` is not an iterator
90   --> $DIR/integral.rs:18:14
91    |
92 LL |     for _ in 42 as i64 {}
93    |              ^^^^^^^^^ `i64` is not an iterator
94    |
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`
99
100 error[E0277]: `usize` is not an iterator
101   --> $DIR/integral.rs:20:14
102    |
103 LL |     for _ in 42 as usize {}
104    |              ^^^^^^^^^^^ `usize` is not an iterator
105    |
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`
110
111 error[E0277]: `isize` is not an iterator
112   --> $DIR/integral.rs:22:14
113    |
114 LL |     for _ in 42 as isize {}
115    |              ^^^^^^^^^^^ `isize` is not an iterator
116    |
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`
121
122 error[E0277]: `{float}` is not an iterator
123   --> $DIR/integral.rs:24:14
124    |
125 LL |     for _ in 42.0 {}
126    |              ^^^^ `{float}` is not an iterator
127    |
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`
131
132 error: aborting due to 12 previous errors
133
134 For more information about this error, try `rustc --explain E0277`.