fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: `Vec<bool>` is not an iterator 2 --> $DIR/vec-on-unimplemented.rs:2:23 3 | 4LL | 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 7 | 8 = note: doesn't satisfy `Vec<bool>: Iterator` 9 | 10 = note: the following trait bounds were not satisfied: 11 `Vec<bool>: Iterator` 12 which is required by `&mut Vec<bool>: Iterator` 13 `[bool]: Iterator` 14 which is required by `&mut [bool]: Iterator` 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0599`.