1 pub mod submod { 2 // Create ambiguity with the std::vec::Vec item: 3 pub struct Vec; 4 } 5 test(_v: &Vec<Vec<u32>>)6 fn test(_v: &Vec<Vec<u32>>) { 7 } 8 main()9 fn main() { 10 let v = std::collections::HashMap::new(); 11 v.insert(3u8, 1u8); 12 13 test(&v); 14 //~^ ERROR mismatched types 15 } 16