Skip to content

Commit 7f33662

Browse files
committed
Auto merge of #1400 - RalfJung:rustup, r=RalfJung
rustup
2 parents c49e97d + b4ad906 commit 7f33662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
97f3eeec8216d7155c24674b9be55e7c672bcae3
1+
a08c47310c7d49cbdc5d7afb38408ba519967ecd

tests/compile-fail/validity/dangling_ref1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
use std::mem;
44

55
fn main() {
6-
let _x: &i32 = unsafe { mem::transmute(16usize) }; //~ ERROR encountered a dangling reference (address 16 is unallocated)
6+
let _x: &i32 = unsafe { mem::transmute(16usize) }; //~ ERROR encountered a dangling reference (address 0x10 is unallocated)
77
}

0 commit comments

Comments
 (0)