diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-11 18:33:36 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-14 09:30:03 +0200 |
| commit | b5d43fcdc9512e538c6d2070df0ad2fed35f85bb (patch) | |
| tree | f4c47874c4b74f12ac8b76867de58c9a74fad4db /src | |
| parent | 3b99a48c4dbca21e7baa3f7747c58209359474c7 (diff) | |
| download | rust-b5d43fcdc9512e538c6d2070df0ad2fed35f85bb.tar.gz rust-b5d43fcdc9512e538c6d2070df0ad2fed35f85bb.zip | |
Update tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/mir-opt/inline-closure-borrows-arg.rs | 2 | ||||
| -rw-r--r-- | src/test/mir-opt/inline-closure.rs | 2 | ||||
| -rw-r--r-- | src/test/mir-opt/retag.rs | 2 |
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); |
