Skip to content

Commit cf44c36

Browse files
authored
Merge pull request #456 from solson/rustup
fix test for rustup
2 parents 0d7ca71 + 130d803 commit cf44c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fn main() {
22
let v: Vec<u8> = vec![1, 2];
33
let x = unsafe { *v.as_ptr().wrapping_offset(5) }; //~ ERROR constant evaluation error
4-
//~^ NOTE memory access at offset 6, outside bounds of allocation
4+
//~^ NOTE outside bounds of allocation
55
panic!("this should never print: {}", x);
66
}

0 commit comments

Comments
 (0)