about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_middle/src/mir/interpret/allocation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/allocation.rs b/compiler/rustc_middle/src/mir/interpret/allocation.rs
index 7b18255f57a..1a8e4826447 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