about summary refs log tree commit diff
path: root/compiler/rustc_target/src
diff options
context:
space:
mode:
authorltdk <usr@ltdk.xyz>2023-10-13 02:44:19 -0400
committerltdk <usr@ltdk.xyz>2023-11-02 20:35:20 -0400
commit8337e86b28b9cdab7250e39710a1c81b99aeeb8d (patch)
treea64a6c81265c4f270f95b56c0f1e39c12b727eb0 /compiler/rustc_target/src
parent075409ddd9bf30602c7654e37127e1dbbb460871 (diff)
downloadrust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.tar.gz
rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.zip
Add insta-stable std::hash::{DefaultHasher, RandomState} exports
Diffstat (limited to 'compiler/rustc_target/src')
-rw-r--r--compiler/rustc_target/src/spec/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs
index 48ca5fcf3ad..19b7ea5d578 100644
--- a/compiler/rustc_target/src/spec/mod.rs
+++ b/compiler/rustc_target/src/spec/mod.rs
@@ -3537,7 +3537,7 @@ impl TargetTriple {
     /// If this target is a path, a hash of the path is appended to the triple returned
     /// by `triple()`.
     pub fn debug_triple(&self) -> String {
-        use std::collections::hash_map::DefaultHasher;
+        use std::hash::DefaultHasher;
 
         match self {
             TargetTriple::TargetTriple(triple) => triple.to_owned(),