From 2a629f931df9daefecdcc9befe3698f556b3572d Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Mon, 4 Dec 2017 17:46:23 +0200 Subject: rustc_mir: don't move temporaries that are still used later. --- src/test/run-pass/i128.rs | 2 ++ src/test/run-pass/u128.rs | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/test') diff --git a/src/test/run-pass/i128.rs b/src/test/run-pass/i128.rs index 5369b138b0d..c3e43c92590 100644 --- a/src/test/run-pass/i128.rs +++ b/src/test/run-pass/i128.rs @@ -10,6 +10,8 @@ // ignore-emscripten i128 doesn't work +// compile-flags: -Z borrowck=compare + #![feature(i128_type, test)] extern crate test; diff --git a/src/test/run-pass/u128.rs b/src/test/run-pass/u128.rs index bf506a71250..ebd43a86033 100644 --- a/src/test/run-pass/u128.rs +++ b/src/test/run-pass/u128.rs @@ -10,6 +10,8 @@ // ignore-emscripten u128 not supported +// compile-flags: -Z borrowck=compare + #![feature(i128_type, test)] extern crate test; -- cgit 1.4.1-3-g733a5