about summary refs log tree commit diff
path: root/tests/ui/issues/issue-23036.rs
blob: 5186fccd042b2e654f8613bbdd8a7c2a686c2d1e (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"));
}