diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-26 18:54:39 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-28 11:47:36 -0400 |
| commit | 14a5aefb01bb4f18749ab56cd9fd37bf93c86a37 (patch) | |
| tree | 01239699d8cb998460c98b985f52df26a9768398 /src/librustc_codegen_ssa | |
| parent | f60e58e57580d47e82a374bad73214b6bfec085a (diff) | |
Switch over all StableHash impls to new format
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/common.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/librustc_codegen_ssa/common.rs b/src/librustc_codegen_ssa/common.rs index 6376512ca40..e3aa35ef4eb 100644 --- a/src/librustc_codegen_ssa/common.rs +++ b/src/librustc_codegen_ssa/common.rs @@ -109,14 +109,11 @@ pub enum TypeKind { // for now we content ourselves with providing a no-op HashStable // implementation for CGUs. mod temp_stable_hash_impls { - use rustc_data_structures::stable_hasher::{StableHasherResult, StableHasher, - HashStable}; + use rustc_data_structures::stable_hasher::{StableHasher, HashStable}; use crate::ModuleCodegen; impl<HCX, M> HashStable<HCX> for ModuleCodegen<M> { - fn hash_stable<W: StableHasherResult>(&self, - _: &mut HCX, - _: &mut StableHasher<W>) { + fn hash_stable(&self, _: &mut HCX, _: &mut StableHasher) { // do nothing } } |
