Auto merge of #1899 - RalfJung:rustup, r=RalfJung

rustup
This commit is contained in:
bors 2021-10-12 15:39:54 +00:00
commit a32bf4a6eb
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0157cc977fd71297ce73e2f249321f5ba2555d42 9475e609b8458fff9e444934a6017d2e590642cf

View File

@ -16,7 +16,7 @@ fn main() {
let bad = unsafe { transmute::<i32, *const u8>(-x) }; let bad = unsafe { transmute::<i32, *const u8>(-x) };
// Force it through the Memory::write_primval code. // Force it through the Memory::write_primval code.
Box::new(bad); drop(Box::new(bad));
} }
#[cfg(not(target_pointer_width = "32"))] #[cfg(not(target_pointer_width = "32"))]