]> git.lizzy.rs Git - rust.git/blob - src/test/ui/iterators/vec-on-unimplemented.rs
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / iterators / vec-on-unimplemented.rs
1 fn main() {
2     vec![true, false].map(|v| !v).collect::<Vec<_>>();
3     //~^ ERROR `Vec<bool>` is not an iterator
4 }