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, }