diff options
| author | bors <bors@rust-lang.org> | 2017-12-05 13:35:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-05 13:35:59 +0000 |
| commit | bf2be6175e9f6414dd5ce19d120dcd444d79edea (patch) | |
| tree | 07d6be2043c73c463362476171134d78619e679f /src/test | |
| parent | a2899408dd162bfe349e7ff8bceaee60b34e77cc (diff) | |
| parent | 2a629f931df9daefecdcc9befe3698f556b3572d (diff) | |
| download | rust-bf2be6175e9f6414dd5ce19d120dcd444d79edea.tar.gz rust-bf2be6175e9f6414dd5ce19d120dcd444d79edea.zip | |
Auto merge of #46492 - eddyb:move-ops, r=arielb1
rustc_mir: don't move temporaries that are still used later. This should unbreak using the MIR borrow-checker on `libcore` (assuming #46268 is merged).
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/i128.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/u128.rs | 2 |
2 files changed, 4 insertions, 0 deletions
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; |
