mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 08:18:44 +00:00
6 lines
180 B
Rust
6 lines
180 B
Rust
//@ run-rustfix
|
|
fn main() {
|
|
let _ = vec![true, false].map(|v| !v).collect::<Vec<_>>();
|
|
//~^ ERROR no method named `map` found for struct `Vec<bool>` in the current scope
|
|
}
|