diff options
| author | ltdk <usr@ltdk.xyz> | 2023-10-13 02:44:19 -0400 |
|---|---|---|
| committer | ltdk <usr@ltdk.xyz> | 2023-11-02 20:35:20 -0400 |
| commit | 8337e86b28b9cdab7250e39710a1c81b99aeeb8d (patch) | |
| tree | a64a6c81265c4f270f95b56c0f1e39c12b727eb0 /compiler/rustc_session/src | |
| parent | 075409ddd9bf30602c7654e37127e1dbbb460871 (diff) | |
| download | rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.tar.gz rust-8337e86b28b9cdab7250e39710a1c81b99aeeb8d.zip | |
Add insta-stable std::hash::{DefaultHasher, RandomState} exports
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 715a7f9cb63..9477754c340 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -3179,9 +3179,8 @@ pub(crate) mod dep_tracking { use rustc_target::spec::{ RelroLevel, SanitizerSet, SplitDebuginfo, StackProtector, TargetTriple, TlsModel, }; - use std::collections::hash_map::DefaultHasher; use std::collections::BTreeMap; - use std::hash::Hash; + use std::hash::{DefaultHasher, Hash}; use std::num::NonZeroUsize; use std::path::PathBuf; diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 7510a41485a..5a779728ec3 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -19,8 +19,7 @@ use rustc_span::SourceFileHashAlgorithm; use std::collections::BTreeMap; -use std::collections::hash_map::DefaultHasher; -use std::hash::Hasher; +use std::hash::{DefaultHasher, Hasher}; use std::num::{IntErrorKind, NonZeroUsize}; use std::path::PathBuf; use std::str; |
