1 error[E0599]: `Vec<bool>` is not an iterator
2 --> $DIR/vec-on-unimplemented.rs:2:23
4 LL | vec![true, false].map(|v| !v).collect::<Vec<_>>();
5 | ^^^ `Vec<bool>` is not an iterator; try calling `.into_iter()` or `.iter()`
7 ::: $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
9 LL | pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
10 | ------------------------------------------------------------------------------------------------ doesn't satisfy `Vec<bool>: Iterator`
12 = note: the following trait bounds were not satisfied:
14 which is required by `&mut Vec<bool>: Iterator`
16 which is required by `&mut [bool]: Iterator`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0599`.