From 0d97ad383412970b39275226bdfde7393d73867f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 16 Apr 2019 19:24:28 +0300 Subject: [PATCH] Update src/librustc/mir/interpret/allocation.rs Co-Authored-By: LooMaclin --- src/librustc/mir/interpret/allocation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 433c105231e0..35b8a5fda4fe 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -26,7 +26,7 @@ pub enum InboundsCheck { #[derive(Debug, Copy, Clone, RustcEncodable, RustcDecodable, HashStable)] pub enum CheckInAllocMsg { MemoryAccess, - NullPointer, + NullPointerTest, PointerArithmetic, OutOfBounds, }