@@ -15,6 +15,7 @@ use hir_def::{
1515use la_arena:: { Idx , RawIdx } ;
1616use rustc_abi:: AddressSpace ;
1717use rustc_index:: { IndexSlice , IndexVec } ;
18+ use rustc_hashes:: Hash64 ;
1819
1920use triomphe:: Arc ;
2021
@@ -197,7 +198,7 @@ fn layout_of_simd_ty(
197198 align,
198199 max_repr_align : None ,
199200 unadjusted_abi_align : align. abi ,
200- randomization_seed : 0 ,
201+ randomization_seed : Hash64 :: ZERO ,
201202 } ) )
202203}
203204
@@ -314,7 +315,7 @@ pub fn layout_of_ty_query(
314315 size,
315316 max_repr_align : None ,
316317 unadjusted_abi_align : element. align . abi ,
317- randomization_seed : 0 ,
318+ randomization_seed : Hash64 :: ZERO ,
318319 }
319320 }
320321 TyKind :: Slice ( element) => {
@@ -328,7 +329,7 @@ pub fn layout_of_ty_query(
328329 size : Size :: ZERO ,
329330 max_repr_align : None ,
330331 unadjusted_abi_align : element. align . abi ,
331- randomization_seed : 0 ,
332+ randomization_seed : Hash64 :: ZERO ,
332333 }
333334 }
334335 TyKind :: Str => Layout {
@@ -340,7 +341,7 @@ pub fn layout_of_ty_query(
340341 size : Size :: ZERO ,
341342 max_repr_align : None ,
342343 unadjusted_abi_align : dl. i8_align . abi ,
343- randomization_seed : 0 ,
344+ randomization_seed : Hash64 :: ZERO ,
344345 } ,
345346 // Potentially-wide pointers.
346347 TyKind :: Ref ( _, _, pointee) | TyKind :: Raw ( _, pointee) => {
0 commit comments