diff options
Diffstat (limited to 'src/test/ui/iterators/collect-into-array.rs')
| -rw-r--r-- | src/test/ui/iterators/collect-into-array.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/iterators/collect-into-array.rs b/src/test/ui/iterators/collect-into-array.rs deleted file mode 100644 index 99d0d9bd735..00000000000 --- a/src/test/ui/iterators/collect-into-array.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn main() { - let whatever: [u32; 10] = (0..10).collect(); - //~^ ERROR an array of type `[u32; 10]` cannot be built directly from an iterator - //~| NOTE try collecting into a `Vec<{integer}>`, then using `.try_into()` - //~| NOTE required by a bound in `collect` -} |
