2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2012-07-11 16:31:35 -05:00
|
|
|
// Minimized version of issue-2804.rs. Both check that callee IDs don't
|
|
|
|
// clobber the previous node ID in a macro expr
|
|
|
|
|
2014-05-29 21:03:06 -05:00
|
|
|
use std::collections::HashMap;
|
2013-03-23 20:22:00 -05:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
fn add_interfaces(managed_ip: String, device: HashMap<String, isize>) {
|
2015-03-21 20:15:47 -05:00
|
|
|
println!("{}, {}", managed_ip, device["interfaces"]);
|
2012-07-11 16:31:35 -05:00
|
|
|
}
|
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() {}
|