diff --git a/compiler/rustc_middle/src/mir/interpret/allocation.rs b/compiler/rustc_middle/src/mir/interpret/allocation.rs index 7b18255f57a87..1a8e48264471c 100644 --- a/compiler/rustc_middle/src/mir/interpret/allocation.rs +++ b/compiler/rustc_middle/src/mir/interpret/allocation.rs @@ -115,7 +115,7 @@ impl hash::Hash for Allocation { init_mask, align, mutability, - extra: _, // don't bother hashing () + extra: (), // don't bother hashing () } = self; // Partially hash the `bytes` buffer when it is large. To limit collisions with common