@@ -6,7 +6,7 @@ LL | small.into_iter();
6
6
|
7
7
= note: `#[warn(array_into_iter)]` on by default
8
8
= warning: this changes meaning in Rust 2021
9
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
9
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
10
10
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
11
11
|
12
12
LL | small.iter();
@@ -23,7 +23,7 @@ LL | [1, 2].into_iter();
23
23
| ^^^^^^^^^
24
24
|
25
25
= warning: this changes meaning in Rust 2021
26
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
26
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
27
27
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
28
28
|
29
29
LL | [1, 2].iter();
@@ -40,7 +40,7 @@ LL | big.into_iter();
40
40
| ^^^^^^^^^
41
41
|
42
42
= warning: this changes meaning in Rust 2021
43
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
43
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
44
44
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
45
45
|
46
46
LL | big.iter();
@@ -57,7 +57,7 @@ LL | [0u8; 33].into_iter();
57
57
| ^^^^^^^^^
58
58
|
59
59
= warning: this changes meaning in Rust 2021
60
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
60
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
61
61
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
62
62
|
63
63
LL | [0u8; 33].iter();
@@ -74,7 +74,7 @@ LL | Box::new(small).into_iter();
74
74
| ^^^^^^^^^
75
75
|
76
76
= warning: this changes meaning in Rust 2021
77
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
77
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
78
78
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
79
79
|
80
80
LL | Box::new(small).iter();
@@ -91,7 +91,7 @@ LL | Box::new([1, 2]).into_iter();
91
91
| ^^^^^^^^^
92
92
|
93
93
= warning: this changes meaning in Rust 2021
94
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
94
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
95
95
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
96
96
|
97
97
LL | Box::new([1, 2]).iter();
@@ -108,7 +108,7 @@ LL | Box::new(big).into_iter();
108
108
| ^^^^^^^^^
109
109
|
110
110
= warning: this changes meaning in Rust 2021
111
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
111
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
112
112
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
113
113
|
114
114
LL | Box::new(big).iter();
@@ -125,7 +125,7 @@ LL | Box::new([0u8; 33]).into_iter();
125
125
| ^^^^^^^^^
126
126
|
127
127
= warning: this changes meaning in Rust 2021
128
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
128
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
129
129
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
130
130
|
131
131
LL | Box::new([0u8; 33]).iter();
@@ -142,7 +142,7 @@ LL | Box::new(Box::new(small)).into_iter();
142
142
| ^^^^^^^^^
143
143
|
144
144
= warning: this changes meaning in Rust 2021
145
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
145
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
146
146
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
147
147
|
148
148
LL | Box::new(Box::new(small)).iter();
@@ -159,7 +159,7 @@ LL | Box::new(Box::new([1, 2])).into_iter();
159
159
| ^^^^^^^^^
160
160
|
161
161
= warning: this changes meaning in Rust 2021
162
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
162
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
163
163
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
164
164
|
165
165
LL | Box::new(Box::new([1, 2])).iter();
@@ -176,7 +176,7 @@ LL | Box::new(Box::new(big)).into_iter();
176
176
| ^^^^^^^^^
177
177
|
178
178
= warning: this changes meaning in Rust 2021
179
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
179
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
180
180
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
181
181
|
182
182
LL | Box::new(Box::new(big)).iter();
@@ -193,7 +193,7 @@ LL | Box::new(Box::new([0u8; 33])).into_iter();
193
193
| ^^^^^^^^^
194
194
|
195
195
= warning: this changes meaning in Rust 2021
196
- = note: for more information, see issue #66145 <https://github.com/ rust-lang/rust/issues/66145 >
196
+ = note: for more information, see <https://doc. rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html >
197
197
help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
198
198
|
199
199
LL | Box::new(Box::new([0u8; 33])).iter();
0 commit comments