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()`
6 --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
8 = note: doesn't satisfy `Vec<bool>: Iterator`
10 = note: the following trait bounds were not satisfied:
12 which is required by `&mut Vec<bool>: Iterator`
14 which is required by `&mut [bool]: Iterator`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0599`.