summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23036.rs
blob: d67f184720e6cb82be639057fdc5bc888390bdcd (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass

use std::collections::HashMap;
use std::path::Path;

fn main() {
    let mut map = HashMap::new();
    map.insert(Path::new("a"), 0);
    map.get(Path::new("a"));
}