about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/interpret/intern.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-14 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-17 08:57:06 +0100
commite190f0d974bc0cc43cc41b2d9c9f963b6af2ec50 (patch)
treee820b011b0701e2b18ba6ff8ec309eaca2d779e9 /compiler/rustc_mir/src/interpret/intern.rs
parentee88f46bb5e27c4d9f30326e69ff2298dcbeecb1 (diff)
Reduce size of InterpErrorInfo to 8 bytes
Diffstat (limited to 'compiler/rustc_mir/src/interpret/intern.rs')
-rw-r--r--compiler/rustc_mir/src/interpret/intern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/interpret/intern.rs b/compiler/rustc_mir/src/interpret/intern.rs
index 6904ea5b77d..7993d4847a7 100644
--- a/compiler/rustc_mir/src/interpret/intern.rs
+++ b/compiler/rustc_mir/src/interpret/intern.rs
@@ -356,7 +356,7 @@ where
                 // an allocation, which we should avoid. When that happens,
                 // dedicated error variants should be introduced instead.
                 assert!(
-                    !error.kind.allocates(),
+                    !error.kind().allocates(),
                     "interning encountered allocating error: {}",
                     error
                 );