This commit is contained in:
Ralf Jung 2021-10-12 11:39:06 -04:00
parent fa91a89193
commit f040413af8
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) };
// Force it through the Memory::write_primval code.
Box::new(bad);
drop(Box::new(bad));
}
#[cfg(not(target_pointer_width = "32"))]