Skip to content

Commit cf5d3e3

Browse files
CoAlloc: tests: FIXME: 1. Missing suggestion. 2. Extra indentation.
1 parent 0682f92 commit cf5d3e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/ui/iterators/vec-on-unimplemented.stderr

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
error[E0599]: `Vec<bool>` is not an iterator
22
--> $DIR/vec-on-unimplemented.rs:2:23
33
|
4-
LL | vec![true, false].map(|v| !v).collect::<Vec<_>>();
5-
| ^^^ `Vec<bool>` is not an iterator; try calling `.into_iter()` or `.iter()`
4+
LL | vec![true, false].map(|v| !v).collect::<Vec<_>>();
5+
| ^^^ `Vec<bool>` is not an iterator
66
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
7+
::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
78
|
89
= note: doesn't satisfy `Vec<bool>: Iterator`
910
|

0 commit comments

Comments
 (0)