Skip to content

Commit f10ab19

Browse files
committed
fix error pattern
1 parent 8b219a1 commit f10ab19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-fail/out_of_bounds_ptr_1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern: must be in-bounds and live at offset 5, but is outside bounds of allocation
1+
// error-pattern: must be in-bounds at offset 5, but is outside bounds of allocation
22
fn main() {
33
let v = [0i8; 4];
44
let x = &v as *const i8;

0 commit comments

Comments
 (0)