about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/error.rs
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_middle/src/ty/error.rs
parent075409ddd9bf30602c7654e37127e1dbbb460871 (diff)
downloadrust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.tar.gz
rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.zip
Add insta-stable std::hash::{DefaultHasher, RandomState} exports
Diffstat (limited to 'compiler/rustc_middle/src/ty/error.rs')
-rw-r--r--compiler/rustc_middle/src/ty/error.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/error.rs b/compiler/rustc_middle/src/ty/error.rs
index 738bb5e8b19..b26f98769c1 100644
--- a/compiler/rustc_middle/src/ty/error.rs
+++ b/compiler/rustc_middle/src/ty/error.rs
@@ -7,8 +7,7 @@ use rustc_hir::def_id::DefId;
 use rustc_span::symbol::Symbol;
 use rustc_target::spec::abi;
 use std::borrow::Cow;
-use std::collections::hash_map::DefaultHasher;
-use std::hash::{Hash, Hasher};
+use std::hash::{DefaultHasher, Hash, Hasher};
 use std::path::PathBuf;
 
 #[derive(Clone, Copy, Debug, PartialEq, Eq, TypeFoldable, TypeVisitable)]