We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0682f92 commit cf5d3e3Copy full SHA for cf5d3e3
tests/ui/iterators/vec-on-unimplemented.stderr
@@ -1,9 +1,10 @@
1
error[E0599]: `Vec<bool>` is not an iterator
2
--> $DIR/vec-on-unimplemented.rs:2:23
3
|
4
-LL | vec![true, false].map(|v| !v).collect::<Vec<_>>();
5
- | ^^^ `Vec<bool>` is not an iterator; try calling `.into_iter()` or `.iter()`
+LL | vec![true, false].map(|v| !v).collect::<Vec<_>>();
+ | ^^^ `Vec<bool>` is not an iterator
6
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
7
+ ::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
8
9
= note: doesn't satisfy `Vec<bool>: Iterator`
10
0 commit comments