rustc_mir: create the let and "remainder" scopes in source order.

This commit is contained in:
Eduard-Mihai Burtescu 2018-06-01 19:25:28 +03:00
parent 9260305c9e
commit c3ca9a35be
6 changed files with 11 additions and 10 deletions

View file

@ -26,9 +26,9 @@ impl Drop for S {
// let mut _3: ();
// let mut _4: std::boxed::Box<S>;
// scope 1 {
// let _1: std::boxed::Box<S>;
// }
// scope 2 {
// let _1: std::boxed::Box<S>;
// }
// bb0: {
// StorageLive(_1);