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:
commit
bf2be6175e
4 changed files with 14 additions and 4 deletions
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
// ignore-emscripten i128 doesn't work
|
||||
|
||||
// compile-flags: -Z borrowck=compare
|
||||
|
||||
#![feature(i128_type, test)]
|
||||
|
||||
extern crate test;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
// ignore-emscripten u128 not supported
|
||||
|
||||
// compile-flags: -Z borrowck=compare
|
||||
|
||||
#![feature(i128_type, test)]
|
||||
|
||||
extern crate test;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue