Skip to content

Commit 676c4f8

Browse files
committed
Auto merge of #1210 - RalfJung:rustup-validity, r=RalfJung
rustup: adjust error message This is the Miri side of rust-lang/rust#69762
2 parents f2ed1ab + 5040cb7 commit 676c4f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7a3700c37132385e8e965c18e73d0a09f9146335
1+
3dbade652ed8ebac70f903e01f51cd92c4e4302c

Diff for: tests/compile-fail/slice-too-big.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ use std::mem;
22

33
fn main() { unsafe {
44
let ptr = Box::into_raw(Box::new(0u8));
5-
let _x: &[u8] = mem::transmute((ptr, usize::MAX)); //~ ERROR: invalid slice: total size is bigger than largest supported object
5+
let _x: &[u8] = mem::transmute((ptr, usize::MAX)); //~ ERROR: invalid reference metadata: slice is bigger than largest supported object
66
} }

0 commit comments

Comments
 (0)