diff --git a/rust-version b/rust-version index fdd83d7081..a51e57fd46 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -0157cc977fd71297ce73e2f249321f5ba2555d42 +9475e609b8458fff9e444934a6017d2e590642cf diff --git a/tests/run-pass/too-large-primval-write-problem.rs b/tests/run-pass/too-large-primval-write-problem.rs index ebd6dbb61e..f4c418bd78 100644 --- a/tests/run-pass/too-large-primval-write-problem.rs +++ b/tests/run-pass/too-large-primval-write-problem.rs @@ -16,7 +16,7 @@ fn main() { let bad = unsafe { transmute::(-x) }; // Force it through the Memory::write_primval code. - Box::new(bad); + drop(Box::new(bad)); } #[cfg(not(target_pointer_width = "32"))]