diff options
| author | ljedrz <ljedrz@gmail.com> | 2019-03-04 09:00:30 +0100 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2019-03-07 09:22:43 +0100 |
| commit | cd06038b54687bb4040e3d0a8b7bc4e8a3618ba8 (patch) | |
| tree | b7b357f82da07902f6d9ab586cfad6aaf7b12a13 /src/test/mir-opt | |
| parent | 88f755f8a84df1d9e6b17cf10c96ae8b93481b2e (diff) | |
| download | rust-cd06038b54687bb4040e3d0a8b7bc4e8a3618ba8.tar.gz rust-cd06038b54687bb4040e3d0a8b7bc4e8a3618ba8.zip | |
HirIdification: replace NodeId method calls
Diffstat (limited to 'src/test/mir-opt')
| -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 9f925e891c0..d09ddce09c5 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@NodeId(53)]; +// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 27 }]; // ... // _4 = &_3; // ... diff --git a/src/test/mir-opt/inline-closure.rs b/src/test/mir-opt/inline-closure.rs index 68c88da9c02..436a8c20e2b 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@NodeId(39)]; +// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 11 }]; // ... // _4 = &_3; // ... diff --git a/src/test/mir-opt/retag.rs b/src/test/mir-opt/retag.rs index bb794409ae0..cdf63556737 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}}(_1: &[closure@NodeId(124)], _2: &i32) -> &i32 { +// fn main::{{closure}}(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 70 }], _2: &i32) -> &i32 { // ... // bb0: { // Retag([fn entry] _1); |
