diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-14 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-17 08:57:06 +0100 |
| commit | e190f0d974bc0cc43cc41b2d9c9f963b6af2ec50 (patch) | |
| tree | e820b011b0701e2b18ba6ff8ec309eaca2d779e9 /compiler/rustc_mir/src/interpret/intern.rs | |
| parent | ee88f46bb5e27c4d9f30326e69ff2298dcbeecb1 (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.rs | 2 |
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 ); |
