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).
This commit is contained in:
bors 2017-12-05 13:35:59 +00:00
commit bf2be6175e
4 changed files with 14 additions and 4 deletions

View file

@ -10,6 +10,8 @@
// ignore-emscripten i128 doesn't work
// compile-flags: -Z borrowck=compare
#![feature(i128_type, test)]
extern crate test;

View file

@ -10,6 +10,8 @@
// ignore-emscripten u128 not supported
// compile-flags: -Z borrowck=compare
#![feature(i128_type, test)]
extern crate test;