diff options
| -rw-r--r-- | src/librustc_mir/interpret/memory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs index 3c7cded5ba6..cc8bed770c4 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -448,7 +448,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> Memory<'a, 'mir, 'tcx, M> { "allocation missing in dead_alloc_map" )) }, - _ => err!(DanglingPointerDeref), + InboundsCheck::Live => err!(DanglingPointerDeref), }, } } |
