rust/tests/ui/issues/issue-1696.rs
2024-02-16 20:02:50 +00:00

9 lines
168 B
Rust

//@ run-pass
use std::collections::HashMap;
pub fn main() {
let mut m = HashMap::new();
m.insert(b"foo".to_vec(), b"bar".to_vec());
println!("{:?}", m);
}