]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23036.rs
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-23036.rs
1 // run-pass
2
3 use std::collections::HashMap;
4 use std::path::Path;
5
6 fn main() {
7     let mut map = HashMap::new();
8     map.insert(Path::new("a"), 0);
9     map.get(Path::new("a"));
10 }