mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
12 lines
252 B
Rust
12 lines
252 B
Rust
//! regression test for <https://github.com/rust-lang/rust/issues/23036>
|
|
//@ 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"));
|
|
}
|