summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-23649-2.rs
blob: ce7d8e3a7554730ed152a40661fa6ad592fe86d8 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass

use std::collections::HashMap;
use std::path::{Path, PathBuf};

fn main() {
    let m: HashMap<PathBuf, ()> = HashMap::new();
    let k = Path::new("foo");
    println!("{:?}", m.get(k));
}