2024-03-01 21:37:56 +00:00
|
|
|
//@ run-rustfix
|
2022-06-08 11:09:08 +00:00
|
|
|
fn main() {
|
2024-03-01 21:37:56 +00:00
|
|
|
let _ = vec![true, false].map(|v| !v).collect::<Vec<_>>();
|
|
|
|
|
//~^ ERROR no method named `map` found for struct `Vec<bool>` in the current scope
|
2022-06-08 11:09:08 +00:00
|
|
|
}
|