about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-11 18:33:36 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-14 09:30:03 +0200
commitb5d43fcdc9512e538c6d2070df0ad2fed35f85bb (patch)
treef4c47874c4b74f12ac8b76867de58c9a74fad4db /src
parent3b99a48c4dbca21e7baa3f7747c58209359474c7 (diff)
downloadrust-b5d43fcdc9512e538c6d2070df0ad2fed35f85bb.tar.gz
rust-b5d43fcdc9512e538c6d2070df0ad2fed35f85bb.zip
Update tests
Diffstat (limited to 'src')
-rw-r--r--src/test/mir-opt/inline-closure-borrows-arg.rs2
-rw-r--r--src/test/mir-opt/inline-closure.rs2
-rw-r--r--src/test/mir-opt/retag.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/mir-opt/inline-closure-borrows-arg.rs b/src/test/mir-opt/inline-closure-borrows-arg.rs
index d09ddce09c5..2c30c7f3651 100644
--- a/src/test/mir-opt/inline-closure-borrows-arg.rs
+++ b/src/test/mir-opt/inline-closure-borrows-arg.rs
@@ -20,7 +20,7 @@ fn foo<T: Copy>(_t: T, q: &i32) -> i32 {
 // ...
 // bb0: {
 //     ...
-//     _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 27 }];
+//     _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 29 }];
 //     ...
 //     _4 = &_3;
 //     ...
diff --git a/src/test/mir-opt/inline-closure.rs b/src/test/mir-opt/inline-closure.rs
index 436a8c20e2b..8116a445467 100644
--- a/src/test/mir-opt/inline-closure.rs
+++ b/src/test/mir-opt/inline-closure.rs
@@ -16,7 +16,7 @@ fn foo<T: Copy>(_t: T, q: i32) -> i32 {
 // ...
 // bb0: {
 //     ...
-//     _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 11 }];
+//     _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 13 }];
 //     ...
 //     _4 = &_3;
 //     ...
diff --git a/src/test/mir-opt/retag.rs b/src/test/mir-opt/retag.rs
index 3b333b5431c..1f8abf10fa5 100644
--- a/src/test/mir-opt/retag.rs
+++ b/src/test/mir-opt/retag.rs
@@ -98,7 +98,7 @@ fn main() {
 // }
 // END rustc.main.EraseRegions.after.mir
 // START rustc.main-{{closure}}.EraseRegions.after.mir
-// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 70 }], _2: &i32) -> &i32 {
+// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 72 }], _2: &i32) -> &i32 {
 //     ...
 //     bb0: {
 //         Retag([fn entry] _1);