From 1f8cb476eabe3b809907890e69fbf3003a8bb8dc Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 4 Nov 2019 12:17:25 +0100 Subject: [PATCH] fix test erorr msg --- tests/compile-fail/ptr_offset_0_plus_0.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compile-fail/ptr_offset_0_plus_0.rs b/tests/compile-fail/ptr_offset_0_plus_0.rs index 4abcc5c1b809..96a9fb8402f6 100644 --- a/tests/compile-fail/ptr_offset_0_plus_0.rs +++ b/tests/compile-fail/ptr_offset_0_plus_0.rs @@ -1,4 +1,4 @@ -// error-pattern: outside bounds of allocation +// error-pattern: invalid use of NULL pointer fn main() { let x = 0 as *mut i32;