You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/iterators/into-iter-on-arrays-lint.stderr
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
2
-
--> $DIR/into-iter-on-arrays-lint.rs:10:11
2
+
--> $DIR/into-iter-on-arrays-lint.rs:9:11
3
3
|
4
4
LL | small.into_iter();
5
5
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -9,7 +9,7 @@ LL | small.into_iter();
9
9
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
10
10
11
11
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
12
-
--> $DIR/into-iter-on-arrays-lint.rs:13:12
12
+
--> $DIR/into-iter-on-arrays-lint.rs:12:12
13
13
|
14
14
LL | [1, 2].into_iter();
15
15
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -18,7 +18,7 @@ LL | [1, 2].into_iter();
18
18
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
19
19
20
20
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
21
-
--> $DIR/into-iter-on-arrays-lint.rs:16:9
21
+
--> $DIR/into-iter-on-arrays-lint.rs:15:9
22
22
|
23
23
LL | big.into_iter();
24
24
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -27,7 +27,7 @@ LL | big.into_iter();
27
27
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
28
28
29
29
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
30
-
--> $DIR/into-iter-on-arrays-lint.rs:19:15
30
+
--> $DIR/into-iter-on-arrays-lint.rs:18:15
31
31
|
32
32
LL | [0u8; 33].into_iter();
33
33
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -36,7 +36,7 @@ LL | [0u8; 33].into_iter();
36
36
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
37
37
38
38
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
39
-
--> $DIR/into-iter-on-arrays-lint.rs:23:21
39
+
--> $DIR/into-iter-on-arrays-lint.rs:22:21
40
40
|
41
41
LL | Box::new(small).into_iter();
42
42
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
46
46
47
47
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
48
-
--> $DIR/into-iter-on-arrays-lint.rs:26:22
48
+
--> $DIR/into-iter-on-arrays-lint.rs:25:22
49
49
|
50
50
LL | Box::new([1, 2]).into_iter();
51
51
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
55
55
56
56
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
57
-
--> $DIR/into-iter-on-arrays-lint.rs:29:19
57
+
--> $DIR/into-iter-on-arrays-lint.rs:28:19
58
58
|
59
59
LL | Box::new(big).into_iter();
60
60
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -63,7 +63,7 @@ LL | Box::new(big).into_iter();
63
63
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
64
64
65
65
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
66
-
--> $DIR/into-iter-on-arrays-lint.rs:32:25
66
+
--> $DIR/into-iter-on-arrays-lint.rs:31:25
67
67
|
68
68
LL | Box::new([0u8; 33]).into_iter();
69
69
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
73
73
74
74
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
75
-
--> $DIR/into-iter-on-arrays-lint.rs:36:31
75
+
--> $DIR/into-iter-on-arrays-lint.rs:35:31
76
76
|
77
77
LL | Box::new(Box::new(small)).into_iter();
78
78
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
82
82
83
83
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
84
-
--> $DIR/into-iter-on-arrays-lint.rs:39:32
84
+
--> $DIR/into-iter-on-arrays-lint.rs:38:32
85
85
|
86
86
LL | Box::new(Box::new([1, 2])).into_iter();
87
87
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
91
91
92
92
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
93
-
--> $DIR/into-iter-on-arrays-lint.rs:42:29
93
+
--> $DIR/into-iter-on-arrays-lint.rs:41:29
94
94
|
95
95
LL | Box::new(Box::new(big)).into_iter();
96
96
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
100
100
101
101
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
102
-
--> $DIR/into-iter-on-arrays-lint.rs:45:35
102
+
--> $DIR/into-iter-on-arrays-lint.rs:44:35
103
103
|
104
104
LL | Box::new(Box::new([0u8; 33])).into_iter();
105
105
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
114
-
--> $DIR/into-iter-on-arrays-lint.rs:10:11
114
+
--> $DIR/into-iter-on-arrays-lint.rs:9:11
115
115
|
116
116
LL | small.into_iter();
117
117
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -122,7 +122,7 @@ LL | small.into_iter();
122
122
123
123
Future breakage date: None, diagnostic:
124
124
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
125
-
--> $DIR/into-iter-on-arrays-lint.rs:13:12
125
+
--> $DIR/into-iter-on-arrays-lint.rs:12:12
126
126
|
127
127
LL | [1, 2].into_iter();
128
128
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -132,7 +132,7 @@ LL | [1, 2].into_iter();
132
132
133
133
Future breakage date: None, diagnostic:
134
134
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
135
-
--> $DIR/into-iter-on-arrays-lint.rs:16:9
135
+
--> $DIR/into-iter-on-arrays-lint.rs:15:9
136
136
|
137
137
LL | big.into_iter();
138
138
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -142,7 +142,7 @@ LL | big.into_iter();
142
142
143
143
Future breakage date: None, diagnostic:
144
144
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
145
-
--> $DIR/into-iter-on-arrays-lint.rs:19:15
145
+
--> $DIR/into-iter-on-arrays-lint.rs:18:15
146
146
|
147
147
LL | [0u8; 33].into_iter();
148
148
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -152,7 +152,7 @@ LL | [0u8; 33].into_iter();
152
152
153
153
Future breakage date: None, diagnostic:
154
154
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
155
-
--> $DIR/into-iter-on-arrays-lint.rs:23:21
155
+
--> $DIR/into-iter-on-arrays-lint.rs:22:21
156
156
|
157
157
LL | Box::new(small).into_iter();
158
158
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
165
-
--> $DIR/into-iter-on-arrays-lint.rs:26:22
165
+
--> $DIR/into-iter-on-arrays-lint.rs:25:22
166
166
|
167
167
LL | Box::new([1, 2]).into_iter();
168
168
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
175
-
--> $DIR/into-iter-on-arrays-lint.rs:29:19
175
+
--> $DIR/into-iter-on-arrays-lint.rs:28:19
176
176
|
177
177
LL | Box::new(big).into_iter();
178
178
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
185
-
--> $DIR/into-iter-on-arrays-lint.rs:32:25
185
+
--> $DIR/into-iter-on-arrays-lint.rs:31:25
186
186
|
187
187
LL | Box::new([0u8; 33]).into_iter();
188
188
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
195
-
--> $DIR/into-iter-on-arrays-lint.rs:36:31
195
+
--> $DIR/into-iter-on-arrays-lint.rs:35:31
196
196
|
197
197
LL | Box::new(Box::new(small)).into_iter();
198
198
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
205
-
--> $DIR/into-iter-on-arrays-lint.rs:39:32
205
+
--> $DIR/into-iter-on-arrays-lint.rs:38:32
206
206
|
207
207
LL | Box::new(Box::new([1, 2])).into_iter();
208
208
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
215
-
--> $DIR/into-iter-on-arrays-lint.rs:42:29
215
+
--> $DIR/into-iter-on-arrays-lint.rs:41:29
216
216
|
217
217
LL | Box::new(Box::new(big)).into_iter();
218
218
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
225
-
--> $DIR/into-iter-on-arrays-lint.rs:45:35
225
+
--> $DIR/into-iter-on-arrays-lint.rs:44:35
226
226
|
227
227
LL | Box::new(Box::new([0u8; 33])).into_iter();
228
228
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
235
-
--> $DIR/into-iter-on-arrays-lint.rs:61:12
235
+
--> $DIR/into-iter-on-arrays-lint.rs:60:12
236
236
|
237
237
LL | [0, 1].into_iter();
238
238
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
0 commit comments