diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2020-09-07 10:01:45 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2020-10-06 11:19:33 +0100 |
| commit | 022c148fcd9e4339b4b59dfaee58ca5905d71b2d (patch) | |
| tree | 78e9598de2e80351e8f50abf57ca9f6c0b74e8c6 /src/test/ui/iterators/array.stderr | |
| parent | 1db284ecb0039798a09e53a519219c5c556c9b38 (diff) | |
| download | rust-022c148fcd9e4339b4b59dfaee58ca5905d71b2d.tar.gz rust-022c148fcd9e4339b4b59dfaee58ca5905d71b2d.zip | |
Fix tests from rebase
Diffstat (limited to 'src/test/ui/iterators/array.stderr')
| -rw-r--r-- | src/test/ui/iterators/array.stderr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/iterators/array.stderr b/src/test/ui/iterators/array.stderr index f86c82e4917..68c6de5493f 100644 --- a/src/test/ui/iterators/array.stderr +++ b/src/test/ui/iterators/array.stderr @@ -6,6 +6,7 @@ LL | for _ in [1, 2] {} | = help: the trait `Iterator` is not implemented for `[{integer}; 2]` = note: arrays are not iterators, but slices like the following are: `&[1, 2, 3]` + = note: required because of the requirements on the impl of `IntoIterator` for `[{integer}; 2]` = note: required by `into_iter` error[E0277]: `[{integer}; 2]` is not an iterator @@ -16,6 +17,7 @@ LL | for _ in x {} | = help: the trait `Iterator` is not implemented for `[{integer}; 2]` = note: arrays are not iterators, but slices like the following are: `&[1, 2, 3]` + = note: required because of the requirements on the impl of `IntoIterator` for `[{integer}; 2]` = note: required by `into_iter` error[E0277]: `[{float}; 2]` is not an iterator @@ -26,6 +28,7 @@ LL | for _ in [1.0, 2.0] {} | = help: the trait `Iterator` is not implemented for `[{float}; 2]` = note: arrays are not iterators, but slices like the following are: `&[1, 2, 3]` + = note: required because of the requirements on the impl of `IntoIterator` for `[{float}; 2]` = note: required by `into_iter` error: aborting due to 3 previous errors |
