diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-02-15 13:57:21 -0500 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2025-02-15 13:59:09 -0500 |
| commit | 1d7cf0ff407beea447334c2784d39658e4be3ca0 (patch) | |
| tree | 245db5686a564ac6dd23781adf40fff8d777ad39 /compiler/rustc_middle/src/ty/layout.rs | |
| parent | fc147b4a81bea997e544afa8f8f05af73c759231 (diff) | |
| download | rust-1d7cf0ff407beea447334c2784d39658e4be3ca0.tar.gz rust-1d7cf0ff407beea447334c2784d39658e4be3ca0.zip | |
Replace some u64 hashes with Hash64
Diffstat (limited to 'compiler/rustc_middle/src/ty/layout.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/layout.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/layout.rs b/compiler/rustc_middle/src/ty/layout.rs index e5a4e38c875..2e90e5251e2 100644 --- a/compiler/rustc_middle/src/ty/layout.rs +++ b/compiler/rustc_middle/src/ty/layout.rs @@ -7,6 +7,7 @@ use rustc_abi::{ PointeeInfo, PointerKind, Primitive, ReprOptions, Scalar, Size, TagEncoding, TargetDataLayout, TyAbiInterface, VariantIdx, Variants, }; +use rustc_data_structures::stable_hasher::Hash64; use rustc_error_messages::DiagMessage; use rustc_errors::{ Diag, DiagArgValue, DiagCtxtHandle, Diagnostic, EmissionGuarantee, IntoDiagArg, Level, @@ -778,7 +779,7 @@ where size: Size::ZERO, max_repr_align: None, unadjusted_abi_align: tcx.data_layout.i8_align.abi, - randomization_seed: 0, + randomization_seed: Hash64::ZERO, }) } |
