Lines Matching refs:hashmap
46 macro_rules! hashmap { macro
48 (@count $($rest:expr),*) => (<[()]>::len(&[$(hashmap!(@single $rest)),*]));
50 ($($key:expr => $value:expr,)+) => { hashmap!($($key => $value),+) };
53 let _cap = hashmap!(@count $($key),*);
259 let names = hashmap!{ in test_hashmap()
268 let empty: HashMap<i32, i32> = hashmap!{}; in test_hashmap()
271 let _nested_compiles = hashmap!{ in test_hashmap()
272 1 => hashmap!{0 => 1 + 2,}, in test_hashmap()
273 2 => hashmap!{1 => 1,}, in test_hashmap()
276 let _: HashMap<String, i32> = convert_args!(keys=String::from, hashmap!( in test_hashmap()
281 let _: HashMap<String, i32> = convert_args!(keys=String::from, values=__id, hashmap!( in test_hashmap()