]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-2804-2.rs
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-2804-2.rs
1 // check-pass
2 #![allow(dead_code)]
3 // Minimized version of issue-2804.rs. Both check that callee IDs don't
4 // clobber the previous node ID in a macro expr
5
6 use std::collections::HashMap;
7
8 fn add_interfaces(managed_ip: String, device: HashMap<String, isize>)  {
9      println!("{}, {}", managed_ip, device["interfaces"]);
10 }
11
12 pub fn main() {}