Skip to content

Commit 1f8cb47

Browse files
committed
fix test erorr msg
1 parent 9eb4e00 commit 1f8cb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-fail/ptr_offset_0_plus_0.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern: outside bounds of allocation
1+
// error-pattern: invalid use of NULL pointer
22

33
fn main() {
44
let x = 0 as *mut i32;

0 commit comments

Comments
 (0)