rust/tests/ui/issues/issue-1696.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
167 B
Rust
Raw Normal View History

// run-pass
use std::collections::HashMap;
2012-02-23 05:17:09 +00:00
pub fn main() {
let mut m = HashMap::new();
m.insert(b"foo".to_vec(), b"bar".to_vec());
println!("{:?}", m);
2012-02-23 05:17:09 +00:00
}