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