summaryrefslogtreecommitdiffstats
path: root/tests/ui/iterators/vec-on-unimplemented.rs
blob: 42b5d36bfad4aea6494879c6116e0f153338bb09 (plain)
1
2
3
4
fn main() {
    vec![true, false].map(|v| !v).collect::<Vec<_>>();
    //~^ ERROR `Vec<bool>` is not an iterator
}