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
+12-12
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
71
-
--> $DIR/into-iter-on-arrays-lint.rs:23:21
71
+
--> $DIR/into-iter-on-arrays-lint.rs:24:21
72
72
|
73
73
LL | Box::new(small).into_iter();
74
74
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
78
78
79
79
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
80
-
--> $DIR/into-iter-on-arrays-lint.rs:26:22
80
+
--> $DIR/into-iter-on-arrays-lint.rs:27:22
81
81
|
82
82
LL | Box::new([1, 2]).into_iter();
83
83
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
87
87
88
88
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
89
-
--> $DIR/into-iter-on-arrays-lint.rs:29:19
89
+
--> $DIR/into-iter-on-arrays-lint.rs:30:19
90
90
|
91
91
LL | Box::new(big).into_iter();
92
92
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
@@ -95,7 +95,7 @@ LL | Box::new(big).into_iter();
95
95
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
96
96
97
97
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
98
-
--> $DIR/into-iter-on-arrays-lint.rs:32:25
98
+
--> $DIR/into-iter-on-arrays-lint.rs:33:25
99
99
|
100
100
LL | Box::new([0u8; 33]).into_iter();
101
101
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
105
105
106
106
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
107
-
--> $DIR/into-iter-on-arrays-lint.rs:36:31
107
+
--> $DIR/into-iter-on-arrays-lint.rs:37:31
108
108
|
109
109
LL | Box::new(Box::new(small)).into_iter();
110
110
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
114
114
115
115
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
116
-
--> $DIR/into-iter-on-arrays-lint.rs:39:32
116
+
--> $DIR/into-iter-on-arrays-lint.rs:40:32
117
117
|
118
118
LL | Box::new(Box::new([1, 2])).into_iter();
119
119
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
123
123
124
124
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
125
-
--> $DIR/into-iter-on-arrays-lint.rs:42:29
125
+
--> $DIR/into-iter-on-arrays-lint.rs:43:29
126
126
|
127
127
LL | Box::new(Box::new(big)).into_iter();
128
128
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
132
132
133
133
warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
134
-
--> $DIR/into-iter-on-arrays-lint.rs:45:35
134
+
--> $DIR/into-iter-on-arrays-lint.rs:46:35
135
135
|
136
136
LL | Box::new(Box::new([0u8; 33])).into_iter();
137
137
| ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
0 commit comments